Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [netcdf]

NetCDF (Network Common Data Form) is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.

0
votes
0answers
37 views

Converting NetCDF dataset array to GeoTiff using rasterio Python

I have read a NetCDF file using the netCDF4 library and then read one of its datasets ("Evapotranspiration") into a variable (variable contains array) using the following code. Subsequently now I am ...
0
votes
0answers
24 views

Multiple break levels in color legend

Please look at the color legend of the image: This image was plotted in ferret program, which has different breaks, like 0-3 with 0.5 interval, 3-9 with 3 interval, 9-10 with 1 interval, 10-20 with ...
0
votes
0answers
23 views

Extract dust data from NetCDF

I have a problem to extract dust data from a netCDF file. The file that I am working contains dust particle data from 1985 to 2007 (http://iridl.ldeo.columbia.edu/home/.nasa_roses_a19/.Dust_model_2011/...
1
vote
1answer
25 views

Transforming NetCDF file in longlat projection into TIF in EASE 2.0 using gdal_translate and gdalwarp

I am very new in this. My goal is to convert 1 subband from .nc files (which I have several thousand if it matters) stored in longlat projection into .tif files in EASE 2.0 projection. I do that in 2 ...
0
votes
1answer
18 views

Mapping Jason-3 Data in ArcGIS Desktop?

Has anyone figured out an easy way to convert Jason-3 data in NetCDF format to a GIS format (raster, shapefile, etc.) so it can be viewed in ArcGIS Desktop? Jason-3 data is available for free in ...
1
vote
1answer
77 views

Using GDALwarp for reprojecting netCDF file?

I am trying to re-project a netCDF file using the gdalwarp command. However, the gdalwarp is giving me a black output. Below is my code: import gdal import osr import netCDF4 from osgeo.gdalconst ...
3
votes
1answer
48 views

netCDF raster layers not loading in QGIS

I have worked with netCDF files in QGIS before, but since I installed QGIS 3.6 they won't load ("myfile.nc" is not an admitted raster data source), nor do they load in QGIS 2.18 anymore. I find this ...
0
votes
1answer
141 views

Read multiple netCDF4 using Python 3

I need to read a multiple netCDF4 files using python 3. The files are in different folder named 2019, 2018 with months and days. And the files have the same variables I use to read and plot it. I ...
0
votes
0answers
24 views

GeoServer - Imagemosaic/netcdf - Schema 'currdir' does not exist

I am trying to create an Image Mosaic of a set of NetCDF files that is time series based. I have read all the docs on docs.geoserver.org and various other places on the web but have not had any ...
1
vote
1answer
48 views

Conversion of GeoTIFF to NetCDF file doesn't create a NetCDF file but my database thinks it does

I am using miniconda and the Open Data Cube project. I am trying to ingest some Landsat_5 data into a datacube, where the geotiff are converted to netCDF files. Using the datacube code I used the ...
0
votes
1answer
57 views

Extract latitude and longitude from rotated coordinate system

I'm new to working with geographic data so please bear with me. I have the following data: bnds,projection_x_coordinate,projection_y_coordinate,realization,fog_area_fraction,...
0
votes
0answers
10 views

Iterative Processing for make NetCDF table View in ArcGIS Desktop?

I am trying to process NetCDF file using Make NetCDF view table but do not understand where it stores output? I have 32 nc file for which I am using ModelBuilder.
0
votes
0answers
25 views

Specifying dimension for variable in NetCDF input file using GDAL?

I have a data which is in .nc format. I want to extract a variable which is in XxYxZ dimensions for example 4032x496x3 inside the netcdf file. But the problem is when using gdal_translate it is ...
0
votes
0answers
33 views

Use SPEI in R using raster or netcdf data

I want to use the SPEI package in R 1, but so far I have seen tutorials on how to use it for a single location. How could I use it by importing my own spatial grids in raster or netcdf format?
0
votes
0answers
23 views

GeoServer NetCDF plugin coordinate system error

I'd like to publish a NetCDF file of global wind data by GeoServer using the GeoServer NetCDF plugin, but the result is not as expected At the same time I used the PanoplyWin (a software designed ...
0
votes
0answers
15 views

Using horizontal compression of three dimensional NetCDF file?

I have a NetCDF file and its variables have two dimensions (time, land (land point without ocean). I want to compare this data to another dataset so should I uncompress it to have lon and lat for ...
0
votes
0answers
15 views

Concatenating NetCDF that have identical dimensions

Given a series of NetCDF datasets like fileA.nc, fileB.nc, fileC.nc, etc., all of which share the same dimensions, and the three dimensions are identical (i.e. same spatial and temporal extents), I am ...
2
votes
0answers
52 views

Estimating a Rotated Pole given a gridded dataset with lat/lons at each point

I have netcdf dataset that I think is regular gridded dataset using a Rotated pole mapping, but the rotated pole information is wrong. For those not familiar with Rotated Poles, the cartopy ...
1
vote
1answer
29 views

GeoServer Image Mosaic - format date/time for TimestampFileNameExtractorSPI in indexer.xml

I'm trying to build mosaics from NetCDF files using the indexer.xml file instead of the *.properties files so we can take advantage of the NetCDF auxiliary file. (Using GeoServer 2.14.2 btw) My ...
0
votes
0answers
10 views

Make a map using netCDF file

I need to plot a map which shows average precipitation for a long period, say 30 years, over a selected domain, using netCDF file. My question is how can I use a netCDF file and take an average of ...
1
vote
1answer
24 views

inf/-inf introduced when opening nc files with raster?

I am currently working with .nc files and have been struggling - I followed several tutorials and looked into the questions & answers here, but there remains one problem: I can open and use (/...
2
votes
0answers
118 views

Load support data set from NetCDF file (Tropomi Sentinel 5P) with GDAL.NET

Been trying to load two data sets from a Tropomi NetCDF file (N2O measurements). I can manage to load some data sets, which are right under PRODUCT, but not others which are under PRODUCT/SUPPORT_DATA/...
1
vote
1answer
363 views

Extract data from NetCDF file based on station

I have read other solutions for NetCDF data but my data are a little different and I do not know how to extract data from NetCDF and save them in CSV files based on stations. Data include the maximum ...
3
votes
0answers
200 views

QGIS 3.4 and loading raster from multiple variable NetCDF file

Using QGIS version 3.4.4 when loading a NetCDF file out.nc which contains multiple variables on a fresh Ubuntu 18.04 install I encounter the following error: CRITICAL Invalid Layer : Raster layer ...
0
votes
0answers
96 views

reproject *TO* MODIS sinusoidal grid

I want a global file chopped into multiple netcdf files corresponding to the modis tiles. I currently have a directory of GLOBAL netcdf files over time. NOTE: ERA interim data is on the regular lat/...
0
votes
0answers
38 views

Project data into WGS from rotated raster (CMIP5 file ) in R

I have this raster (less than 10 mb). It is a historical simulation model (SMHI) created by CMIP5 clipped for the city of Amsterdam. dropbox <- here is the file What I want to do is to convert ...
0
votes
0answers
22 views

Problem with gdal_translate when converting a GeoTiff with spherical datum to a netCDF

I have a raster file with LCC projection and spherical datum. It actually has the following proj4 parameters: +proj=lcc +lat_1=45 +lat_2=22 +lat_0=38.7 +lon_0=20 +x_0=0 +y_0=0 +a=6370000 +b=6370000 +...
0
votes
1answer
27 views

Multidimensional File to allow for pixel values across time series

I have a composite of SAR (28 images in a time series) data and I am trying to get the values of each pixel for the whole time series. I am looking at the coefficient of variation and trying to ...
0
votes
0answers
12 views

Getting t single layer Latitude and Longitude for constant Time and Depth from NetCDF file in Java?

I am trying to read a NetCDF file with 4 parameters (Time, Depth, Latitude, Longitude), I want to read the file at a constant Time and depth. Right now I am reading the whole file and then getting ...
0
votes
0answers
18 views

Reprojecting MODIS netCDFs in ArcMap (Level 3 Standard Mapped Images)

I am trying to do some analysis with Level 3 Standard Mapped MODIS NetCDF files, obtained from the Ocean Color Web level 3 data browser (https://oceancolor.gsfc.nasa.gov/cgi/l3), and I want to project ...
2
votes
0answers
221 views

Convert NetCDF(.nc) (TROPOMI Sentinel-5p) to GeoTIFF (GDAL, GRASS)

I tried converting NetCDF (Sentinel-5p) file to GeoTIFF file but I'm getting: D:\>gdalinfo 20181119T121048.nc Warning 1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid argument". ...
1
vote
0answers
127 views

QGIS 3.4.2 - timemanager plugin - NetCDF - attribute

When updating QGIS from version 2.18 to 3.4.2 my NetCDF files are no longer loading in the timemanager plugin My time variable in the NetCDF file has the following attribute double time(time) ; ...
0
votes
1answer
68 views

cartopy and xarray issues

I'm beginning to use netCDF4 data and therefore I have downloaded xarray and also cartopy (with pip). I have downloaded data from the climate data store and want to plot these data. I have a ...
2
votes
1answer
110 views

Get wind direction from raster stack U and V in R

I have this NetCDF file (about 130 kb size). I want to get for each day (layer) the wind direction (in meteorological or geographical directions) at every cell. https://drive.google.com/open?id=...
1
vote
1answer
64 views

Find time variable in raster data

I have managed to open and intersect a gridded .nc file with spatial polygons for river basins. Unfortunately, I cannot find which variable indicates the month at when the values were measured. The ...
4
votes
1answer
215 views

GeoTIFF (ESA Copernicus data) georeferencing coordinates are mirrored and projection slightly off when checking on Google Maps

I worked on downloading a Sentinel 5P data in my question at Converting a netCDF4 file to (georeferenced) GeoTIFF, problems with georeferencing and also transforming the netCDF4 (.nc) file into a ...
2
votes
1answer
35 views

GeoServer NetCDF loader ignores the scaling factor - how to fix?

I am using GeoServer 2.13.2 on an Ubuntu Trusty 14.04 Linux docker container and I have most plugins installed and certainly the NetCDF plugin. For the most part it seems work well and I have all ...
1
vote
1answer
110 views

Can't extract chlorophyll a values from NetCDF file using R

I'm trying to get the chlorophyll a values from a NetCDF file using R software, but all I'm getting are missing values, NA. I would like to know if I'm doing something wrong or if the file really just ...
0
votes
0answers
86 views

python-netcdf4: Writing file leaves CRS as 'undefined' and extent not correct

I am trying to write a netcdf file in my file system and then open it in QGIS for visualization purposes. I have 3 numpy arrays with size 234 rows and 217 columns. One contains the latitudes in each ...
2
votes
0answers
97 views

Longitude/Latitude from NetCDF with (row,column)

I downloaded a "Sentinel-3 Land Surface Temperature" netcdf file. I want to get the longitude and latitude for each temperature entry in the file. Well the file has pairs of rows and column. Using ...
0
votes
1answer
121 views

Make NetCDF Raster Layer tool in ModelBuilder - Cannot export as geotiff

I am attempting to iterate through thousands of .nc files to convert them into geotiffs using the Make NetCDF Raster Layer tool. I am using ModelBuilder to accomplish this. The iterator works fine, ...
0
votes
2answers
332 views

Convert GeoTiff files to netCDF

i am carrying out a research on dust, i have a low programming skills, but in order for me to do this effectively, i need to determine the soil moisture of the study area. But the soil moisture files ...
1
vote
1answer
31 views

Create multivariable NetCDF from several Raster files

Is it possible to create a NetCDF with several variables from a collection of rasters (same spatial bounds)? I've tried the Arcpy tool RasterToNetCDF, but it seems thats it`s only able to transform ...
1
vote
1answer
229 views

Numpy array to raster with ArcPy [closed]

I have a Python script to download data in netCFD format. I have managed to extract the information I need in a masked array. This looks like: print(my_array.shape()) >> (700, 299, 217) As a ...
0
votes
2answers
51 views

Adjusting the extent of raster

I have a netcdf file which I converted using Make NetCDF Raster. Unfortunately, the x and y are not, I think, properly define. One way to solve this is by correcting the extent (I am not sure here) ...
1
vote
1answer
29 views

Disaggregating NetCDF in ArcMap?

I have many netcdf files in one folder. I want to extract variables from each netcdf file and save them as another .nc file. The process is like this: Make NetCDF Raster layer (one .nc) Define name, ...
-3
votes
1answer
708 views

Merging netcdf files into one using R?

I have hundreds of daily netcdf containing geographic lat/long and parameters. I want to merge them into one file. So the time will only vary. I downloaded NCO but it is not very friendly for window ...
0
votes
0answers
93 views

Plotting NetCDF File using R?

I download this data from the Argo website. When I tried to open it in ArcGIS 10, it produced only one set of LAT/LONG but I know there should be more than that. I tried using R. library (ncdf4) ...
0
votes
1answer
55 views

Converting NetCDF to Raster in ArcMap?

I recently checked the climate data from IPCC. The data format is .nc. I cannot directly use file in the ArcGIS to do the calculation. Anyone met this issue before? I am using ArcGIS Desktop 10.2.
2
votes
1answer
602 views

GDAL translate -AttributeError: 'NoneType' object has no attribute 'RasterCount'

I am trying to convert a netCDF file to geotiff, I am getting he following error at line 14. I just can't seem to figure out what the problem is, I will put the whole code below. Please help, ...