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

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.

1
vote
1answer
12 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
17 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
15 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
14 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
15 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 ...
-2
votes
0answers
32 views

Regridding from low to high resolution

I have data on a 5 degree by 5 degree grid, I wish to have it in 2.5 degree resolution; what are some of the best methods to deploy? I was using bilinear interpolation.
0
votes
0answers
15 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
57 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
30 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
15 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
172 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
59 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
26 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
147 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
63 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
53 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
51 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
38 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
32 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
20 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
335 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
22 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
22 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
85 views

How to define spatial reference and projection to .nc4 file in R

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
93 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
29 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
41 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
27 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
117 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
61 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
33 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
20 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
38 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
39 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
47 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
104 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
152 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
36 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....
0
votes
0answers
52 views

Is there an API for NOAA GOES 15 satellite data?

In August 2015, I was requesting GOES 15 GVAR_IMG satellite data because it had both visible and infrared light info (useful for studying cloud coverage and solar radiation). I remember having to ...
1
vote
0answers
106 views

compute average surface temperature from nc4 file with each lat long

I have nc4 file and I have one shapefile. So I want to read temperature for each latitude and longitude. I used that code- import numpy as np from netCDF4 import Dataset import geopandas as gpd ...
0
votes
0answers
26 views

NetCDF: Start+count exceeds dimension bound (Crop SRTM files for GMT)

I would like to crop the 1-arc second SRTM dataset for usage with GMT. I'm interested in Southern Africa. When running WEST=-10 NORTH=10 EAST=70 SOUTH=-50 gdal_translate -co TILED=YES -of GMT -...
1
vote
1answer
120 views

Reading d NetCDF4 format climate data observation in R?

I downloaded yearly Temp/Precip observation by the globe from here: Free open source climate data archive, and I download those for my research case: Terrestrial Air Temperature: 1900-2014 Gridded ...
3
votes
0answers
84 views

Python&ArcGIS: Combining several raster layers into netCDF

EDIT: So the mod asked me to narrow down my question (waiting for answers to tell me to give more info, but here we go). How can i change my piece of python code to do the following steps: #...
0
votes
0answers
39 views

Accessing global attribute of a NetCDF-based coverage in GeoServer as a service

Is there a way to access a global attribute of a NetCDF-based coverage through GeoServer? Running GeoServer 2.12.0 with netcdf and netcdf-out plugin. Have tried to look for the option to access it ...
0
votes
0answers
60 views

How does the raster package handle no data/flagged values of ncdf4 files when loading them into raster objects?

I have ncdf4 files of NDVI measurs. When I load them with raster("path/to/file.nc") it seems that no data ("missing values") is replaced by one value that is within the ndvi value range (e.g. 0.928). ...
1
vote
2answers
53 views

Interpreting GLDAS 2.1 precipitation data

I am trying to use the GLDAS 2.1 3-hourly precipitation datasets available at: The dataset is documented here: https://hydro1.gesdisc.eosdis.nasa.gov/data/GLDAS/README_GLDAS2.pdf The data is ...
1
vote
2answers
69 views

incomplete netcdf files from OpenNex PlanetOS web

I've been trying to download netcdf files of the NASA NEX-GDDP downscaled GCMs dataset from http://opennex.planetos.com/ website. Right now I'm trying to download 7 GCMs historical/projected data for ...
0
votes
0answers
63 views

Artifacts in NetCDFs served to Leaflet from Geoserver over WMS when zooming

I'm serving a set of NetCDF layers to a Leaflet map over WMS. The netCDFs are native EPSG:4326, and Leaflet requests them in EPSG:3857. They look great zoomed out: But if I zoom in, I start seeing ...
2
votes
1answer
122 views

Gdal how to properly describe geotransform in a netcdf file

I've prepared a netcdf4 file called dummy_dataset.nc, using the netcdf4 python library: from netCDF4 import Dataset, num2date, date2num from numpy import linspace, zeros, random from datetime ...