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.

Filter by
Sorted by
Tagged with
1
vote
0answers
22 views

Convert Geo Coordinates System X/Y to lat &lon from netCDF4 file using python 3

I have netcdf4 file with some variables like: Geo Coordinates System X/Y. I need to convert it to lat/lon. How can i do that with python? This information from my netCDF4 file: import numpy as ...
0
votes
0answers
22 views

Shift time in NetCDF files

I have a folder which contains (monthly) nc files from January 1980 to December 2015 with hourly data for different compounds (such as PM2.5, O3, NO2, NO, etc).The time is in UTC as follows: int ...
0
votes
0answers
38 views

Daily averages in local time from UTC

It has been almost 2 weeks since I started getting familiar with netCDF files and operators (NCO) and climate data operators (cdo) and I am not an experienced programmer. I have a folder which ...
3
votes
1answer
68 views

Read numerical value of variable in NetCDF4 using Python

I need to undestand how I can get the numerical value of one channel IR_108 ( variable) in NetCDF4 and some other data: import numpy as np from netCDF4 import Dataset path = '/home/data/...
2
votes
1answer
88 views

Extracting lat , long & numeric value of one pixel for all variables in NetCDF4 file using Python?

I have an application with wxpython in which I can read and show NetCDF4 file and some information like x y coordinates. what I need is the numerical value or pixel value for the variable air dep ...
1
vote
0answers
26 views

Converting coordinates using NCO/CDO

I have a NetCDF file of ice velocities of the Greenland ice sheet but they are in polar stereographic coordinates (y: -655750 to -3355750 and x: -639750 to 855750 meters). I am wondering if there ...
0
votes
1answer
36 views

GDAL Translation gives incorrect GeoTIFF Projection

I am very new to GIS. I am trying to translate a single band of a NetCDF file to a GeoTIFF file, and then load it up into QGIS and have it overlap with a shapefile of the US. However, when I load up ...
0
votes
1answer
33 views

Exporting shapefiles to NetCDF Format using QGIS?

I'm completely new to using GIS but I've got some shapefiles that I really need in NetCDF format for further analysis. Does anyone know if this is possible in QGIS? I know that you can do this ...
0
votes
0answers
29 views

Automating Model Builder (ArcMap) for NetCDF Processing

I have a NetCDF with 30+ years of monthly data from which I want to find the climatological normal. Using the NetCDF tutorial I found through NOAA (https://www.esrl.noaa.gov/psd/data/gridded_help/...
0
votes
0answers
32 views

gdallocationinfo behaviour from windows to linux

I used NETCDF for many years on windows (using GDAL ) now recently i tried on Linux for netcdf data value.I used gdallocationinfo on windows for retrieving atmospheric parameter value from netcdf ...
0
votes
0answers
40 views

Using all NetCDF file variables?

I am working in R,using a few packages as Raster, ncdf4, Biomod2, ggplot... I am trying to use all variables that are in a NetCDF file. This NetCDF file has 12(months)*5(years)=60 Rasters. I get ...
0
votes
0answers
14 views

Gdal_calc changing the values incorrectly

I am trying to re-project a file to a uniform grid EPSG:4326 and for that I am using the command: gdalwarp -t_srs EPSG:4326 -srcnodata -32767 HDF5:"LC08_L1TP_029037_20190611_20190611_01_RT_L2GEN_2.nc"...
1
vote
1answer
37 views

Values change after re-projecting the NetCDF files to TIFF file

I am trying to re-project a NetCDF file to a uniform grid EPSG: 4326 and convert it to a TIFF file. However, after the GDAL re-projection the values in the file change, i.e. the values are not ...
0
votes
0answers
26 views

Extract time series from NetCDF stars proxy object

I'm trying to extract a time series from a netCDF file opened as a stars_proxy object in R. Looking at the raster to stars mapping table, I should use the aggregate function. But I'm getting a CRS ...
2
votes
1answer
61 views

Reducing file size by not storing no-data points

I have to compute sea wave forecast for large period of time. Land information is of no use here. Is there any file format that allows to not store no-data/fill values for land area to reduce file ...
0
votes
0answers
16 views

Processing NetCDF files with ncremap?

I am attempting to generate a grid with ncremap for use in NCO to transform a NASA NetCDF file into something I can use in a GIS application and I'm experiencing difficulties. When I run a command, ...
1
vote
0answers
19 views

How use IF conditions for choose cmap to plot NetCDF4

I have some variable in my NetCDF4. I have 2 type of variable IR ( infrared) or VIS visible all time when when I choose var to plot in list_ var in index I need to choose cmap : Dor IR the cmap is ...
0
votes
0answers
17 views

Reading dataset of NetCDF file

I have 2 NC files having the same dataset which I am reading by using netCDF4 in Python. After reading one of the NC file, the dataset is getting properly displayed by using np.rot90(data) which was ...
0
votes
1answer
33 views

Plotting Dataset of netCDF using matplotlib.pyplot displays rotated plot

I have read a Dataset in NC file using netCDF4 in python and then tried to plot the dataset using matplotlib.pyplot. But issue is the plot shows the image but with 90 Degrees clockwise rotation. ...
1
vote
1answer
131 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
45 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
32 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
50 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
20 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
110 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
115 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
409 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
36 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
84 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
87 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
13 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
26 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
40 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
29 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
21 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
81 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
48 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
26 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
149 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
708 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 ...
4
votes
0answers
387 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
135 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
58 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
26 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
33 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
13 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
284 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". ...