Stack Exchange Network

Stack Exchange network consists of 174 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.

4
votes
1answer
117 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 ...
0
votes
0answers
15 views

Reading uwind file in Grads?

I have an nc file of uwind (wind magnitude data) which contains hourly data of a month. I need to plot the maps of every hour in Grads. I am able to plot it one by one but I need to plot and save the ...
0
votes
0answers
19 views

GeoServer doesn't publish 2D layers extracted from 3D variables

I had a store on GeoServer 2.8 that extracted temperature from post-processed WRF NetCDF files, to be more specific each WRF forecast is 168h long so each folder contains 168 NetCDF files (one per ...
2
votes
1answer
19 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
62 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
20 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 ...
1
vote
0answers
33 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
0answers
34 views

Registering netcdf file with sentinel image and overlaying world map in Equirectangular projection with satellite image?

I have an image showing the world map in equirectangular projection (plate carree) showing soil moisture represented as intensity. If I do a gdal info on the netcdf (.nc) file: Warning 1: No UNIDATA ...
0
votes
0answers
50 views

Read NetCDF chlorophyll data in R

I want to plot chlorophyll data in much the same way as is shown in the second part of this answer (I can run the first part perfectly with my data but I want a higher resolution map). The only ...
0
votes
1answer
25 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
34 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 ...
0
votes
0answers
26 views

Iterating and extracting time slice from NetCDF using ArcGIS ModelBuilder?

I have a precipitation NetCDF layer (https://www.esrl.noaa.gov/psd/data/gridded/data.gpcc.html). The layer has dimensional data for every month and year between 1901 - present and I need to extract ...
1
vote
1answer
16 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 ...
0
votes
0answers
26 views

Extracting a NetCDF Variable and saving as a TIF using Python and Arcpy

I created a script and subprocess to extract a sub-dataset from a list of files and save it out as a tif. It works for HDF files, but I would like to fit it to NetCDF files. Here is what I have so far:...
0
votes
0answers
26 views

Netcdf time slice tool ArcMap

I am using a set of netcdf files, one for each year (1980-2007) consisting of bands of daily ET data. I cannot get the time slice tool to work in ArcMap, as I obtain an error each time. I neither ...
0
votes
0answers
16 views

Adding spatial reference to nc file?

I want to add spatial reference to a nc file. I created a raster dataset (in tiff format) from that data, but the only thing I know about it is the cell size is 2 km. Below is the properties ...
0
votes
0answers
23 views

Reproject netcdf file using ArcGIS

I have been trying to use a Netcdf file which contains bed topography data for Greenland. I was hoping to construct a cross section of fjord bathymetry (elevation vs distance) by using the interpolate ...
0
votes
0answers
19 views

Create NetCDF Feature Layer using Arcpy - How to load hourly data?

I've been successful in loading daily u- and v- components of surface velocity using the Arcpy script below. But it seems if I specify the date as "06/12/2018 00:00:00", I run into some issues. Is ...
1
vote
1answer
85 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
31 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
19 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
303 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
65 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
34 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.
1
vote
1answer
418 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, ...
1
vote
0answers
117 views

How to convert .nc4 files to .nc using R? [closed]

I have thousands of files with the .nc4 file extension and I'd like to convert them to .nc format using the programming language R. I am using the ncdf4 package to read my data, but I've got no ...
0
votes
1answer
65 views

Error loading netCDF data using sf package in R

I'm trying to use netCDF data, and would like to use sf rather than ncdf4 if it's already built to load netCDF data into sf objects. However, I'm finding that reading the file using sf::st_read isn't ...
1
vote
2answers
59 views

Any way to get smaller chunk of raster grid from big `netCDF` file in R?

I have climate data in big netCDF file which covers 60 years time span climate data observation (please take a look into this link). However, I want to subset this climate data for only recent 20 ...
1
vote
1answer
51 views

Extracting Netcdf climate data for multiple locations at different times using R?

I have daily sea surface temperature and air temperature data from 1980 to 2018. How do I extract values for multiple (up to 100) specific locations at different dates in one go to csv. Right now I ...
0
votes
0answers
35 views

.nc file flipped and rotated in qgis, no CRS, need to be able to project properly to make a masl

I have two separate files, one is my Land Surface Temperature and the other is the Grid with the lat/lon both are .nc I wanted to add my grid, which comes in as an attribute table, to my Land Surface ...
1
vote
0answers
22 views

Reading netCDF in ArcMap?

I'd like to work on netCDF data from two website : ISIMIP and earthstat. You can have an example of data on http://www.earthstat.org/data-download/ (harvested area and yield for 175 crops) and https://...
1
vote
1answer
675 views

Converting netCDF to geotiff file?

NetCDF files downloaded from could not be converted to geotiff using gdaltranslate command below: gdal_translate -ot float32 -unscale -CO COMPRESS=deflate NETCDF:"A2006001170000.L2_LAC_OC.x.nc":...
0
votes
0answers
24 views

convert multiple band image to point layer

Here is what I am trying to do: I have a NetCDF file with 5 bands. Dimensions are 1500x2500, so ~4M cells. I would like to convert it to a point layer with 5 fields corresponding to each band. I ...
0
votes
1answer
31 views

Hatching on filtered region of raster layer

I've created RasterSymbolizer-based styles (colour ramps )for a bunch of trend maps layers (from NetCDFs) in GeoServer, and I serve them over WMS. I also have matching p-value raster layers, and I'd ...
0
votes
0answers
128 views

Defining spatial reference and projection to .nc4 file in R? [closed]

I have several .nc4 files which do not have any spatial reference and I want to give them Geographic projection, WGS 1984 Datum. I have tried to give spatial reference to one of the files using ...
1
vote
1answer
106 views

Any workaround to extract plain text data in ASCII from `netCDF` file in R

I am wondering about how to proportionally split or subset the gridded dataset in netCDF format where data sources were provided by European Climate Assessments and dataset (link for data source). ...
0
votes
1answer
38 views

Unreasonable Raster Statistics from NetCDF file in ArcGIS

I am trying to do an analysis in ArcMap 10.3.1 using chlorophyll data from Ocean Color Web. I downloaded the data as a NetCDF file and used the Make NetCDF Raster Layer tool in order to add it to my ...
1
vote
0answers
55 views

Obtaining regular raster grid from netCDF format grid data in ArcGIS Desktop or R? [closed]

I downloaded E-OBS gridded data from European climate data assessment (grid datasets website and dataset 1 and dataset 2), and I am interested in 0.25 degree grid data of land surface temperature and ...
0
votes
0answers
30 views

Combine shapefile and raster to show data information

I'm working on a project with Geoserver and I have a doubt. On the one hand I have a shapefile with cities and their information. On the other hand, I have a NetCDF with temperature. I know how to ...
0
votes
1answer
127 views

Retrieving interested grid data from E-OBS grid datasets in netCDF file?

Recently I am working with geospatial data in R, I faced this problem. I downloaded E-OBS gridded data from E-OBS grid data, I am interested in 0.25 degree grid data of land surface temperature and ...
1
vote
0answers
67 views

Exporting NetCDF layers as individual rasters? [closed]

I have a NetCDF (CRU diurnal temperature data) for each year and month from 1901 to the 2016. I would like to export individual rasters for a selection of the year and month options. I would like ...
0
votes
0answers
7 views

How to use a range slider with my floating point raster? [duplicate]

I’ve been struggling with this for awhile now. I have 5 rasters that are all floating points. They don’t have an attribute table/fields as a result. I want to use the range slider in ArcGIS pro to ...
1
vote
1answer
36 views

Need specific filenames similar to input files upon conversion to .tif files

I am working on conversion of multiple .nc files (3 hourly data) to .tif files. The issue that I am facing is the original file names are as follows: 3B42A.20050101.18.7A.SUB.nc; 3B42A.20050101.21....
0
votes
0answers
28 views

Scatter plots and regression between two NetCDF files in ArcGIS

I have two NetCDF files: the distribution of biomes (assigned a number 1 to 9) over a region the distribution of rates of precipitation over the same region I'd like to make a scatter plot between ...
0
votes
0answers
60 views

Converting ESRI Grid to GeoTIFF and writing to NetCDF

I'm trying to loop through and read a stack of ESRI grids in a specific projection, convert them to GDAL and then write them out to a NetCDF, but I've never performed this from scratch and I'm running ...
0
votes
0answers
43 views

Reproject NetCDF with 'lat' and 'lon' 2D-arrays

I have a netcdf with 'lat' and 'lon' 2D-arrays and would like to reproject into a GeoTiff. link to netcdf file: https://1drv.ms/u/s!AoFTayz0dxdxj5wPQkjj5Hv6hXC6yQ $gdalinfo goes15.2018.060.183018....
0
votes
0answers
63 views

Error in Making NetCDF Raster Layer in ArcMap after running ncdump and ncgen

I have a netCDF file (1.nc) which can be shown on ArcMap by using the Make NetCDF Raster Layer tool. I needed to amend the data portion in the original netCDF file. I ran the ncdump command to export ...
1
vote
1answer
140 views

Average precipitation raster

I want to plot mean annual precipitation data for a region. I downloaded the precipitation dataset for 1900-2014 from University of Delaware site in netCDF format. Whenever I try to open the dataset ...
2
votes
1answer
237 views

Spatially merging NetCDF climate grids?

I'm currently working with a large number of CF-compliant NetCDF climate grids with global coverage that are organized as tiles across a file structure pertaining to particular "variables" and "years" ...
0
votes
1answer
45 views

Error while adding two values from two netcdf files

I was writing the following code to add two values from two different netcdf files. import netCDF4 as nc m1 = nc.Dataset('m1.nc') m2 = nc.Dataset('m2.nc') a = m1.variables(['pr'][364][100][100] + m2....