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.

0
votes
0answers
4 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
6 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 ...
1
vote
0answers
47 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
50 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
14 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
34 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
43 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
153 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
31 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
26 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
83 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
39 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
48 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
71 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
45 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
64 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
38 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
18 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
53 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
31 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 ...
1
vote
1answer
147 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
35 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
23 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
424 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
80 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
38 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
495 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
138 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
87 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
73 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
78 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
45 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
26 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
1k 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
25 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
41 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 ...
1
vote
1answer
130 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
49 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
82 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
154 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
76 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
30 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
68 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
49 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
76 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
163 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
345 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" ...