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
17 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
7 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
12 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
31 views

Converting large NetCDF daily precip data to monthly averages [on hold]

I have a large NetCDF file containing daily gridded precipitation data for around 30 years and I'd like to create monthly average precipitation rasters from this. I've had a look around and the only ...
0
votes
0answers
22 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
20 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
14 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
11 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
32 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 ...
0
votes
1answer
20 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
8 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
17 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 (/...
1
vote
0answers
78 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
52 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 ...
1
vote
0answers
33 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
45 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
27 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
18 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
10 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
17 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
131 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
101 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
50 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
64 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
56 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
180 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
30 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
93 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
72 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
80 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
105 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
93 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
180 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
24 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
70 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:...
1
vote
1answer
200 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
39 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
26 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
577 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
87 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
48 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
558 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
157 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
115 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
101 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
184 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
59 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
29 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
2k 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":...