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
0
votes
0answers
20 views

Time series NetCDF data QGIS

I am a newbie, trying to import a NetCDF file of satellite chlorophyll imagery into QGIS (3.8). I have added the raster layer and view the individual layers under "properties" I would like to use ...
0
votes
0answers
17 views

Python GDAL; GRASS QGIS Open 3D NetCDF file with “subdatasets” [on hold]

I am trying to open a NetCDF file with GRASS with this code: r.in.gdal -k input=C:\Users\JUL\Desktop\GISNETCDF\Ppt_DRY_subset.nc output=Ppt_DRY title=PPT DRY But I get the following error: ...
1
vote
1answer
16 views

Meaning of 'bnds' and dimensions in OCO2 v9 L3 data product

I cannot seem to understand what, for example, 'lat_bnds' means? Same go for 'lon_bnds', lat/lon_dimensions. These values come from the structurally flat NCDF4, sourced from the JPL as a custom ...
0
votes
0answers
13 views

NetCDF files in QGIS mean of 60 months, the program isn't recognizing subset files

I am trying to merge the files inside an NetCDF file in QGIS,all with same Longitude and latitude size and resolution, but this error is showing; Versión de QGIS: 3.8.3-Zanzibar Revisión del código ...
1
vote
0answers
15 views

GeoServer and NetCDF - Gap around prime meridian

I'm attempting to use GeoServer to publish NetCDF layers. So far has been working well using EPSG:4326 (the native srs) as reference system in the GetMap request. In this case the image from GeoServer ...
0
votes
1answer
26 views

How can I use GDAL in Python to Convert NetCDF to ASCII - and flip the latitudes?

I have a NetCDF file containing bathymetry. I am using the GDAL and NETCDF4 libraries to export the file to ESRI ASCII using the 'AAIGrid' format. However, a common problem is the latitudes are in the ...
0
votes
0answers
22 views

Using rotated projection in NetCDF file?

Could anyone show me a working example of a NetCDF file header with a rotated Cartesian projection where the datum is WGS84? From Spatial reference for netCDF data I see that coordinates can be ...
0
votes
0answers
25 views

Converting from netCDF to GeoTiff using gdal_translate

gdal_translate netcdf_file.nc output.tif I'm trying to generate a GeoTiff using this command, and it works... kind of. The output tif image is just black and white, and I'd like actual colors on the ...
0
votes
0answers
10 views

Unable to export each time slice from a NetCDF layer as a single raster because NetCDF file does not show up

I am using ArcGIS for the first time and am trying to replicate exactly what has been done here. Step 5 asks to "Select the Input_NetCDF_layer and an Output Folder. Click OK to run the tool." - ...
0
votes
1answer
39 views

GeoServer REST API for NetCDF in Python

I am trying to programmatically edit the dimension variable in GeoServer for 200+ NetCDF's. This is how I am trying it: from geoserver.catalog import Catalog cat = Catalog("http://localhost:8080/...
1
vote
1answer
48 views

Extract raster files from VIIRS VNP02 files provided in NetCDF format?

I work in R with HDF files and sometimes i use HEG tool to deal with HDF files. But now NASA has introduced something else that is NetCDF files with VIIRS VNP02 data. I want to extract I04 and I05 ...
1
vote
1answer
36 views

NetCDF time aggregation using R stars package

I have a monthly temperature netCDF dataset with aprox 20 years and I'd like to calculate a monthly climatology (average of all Jan, Feb, Mar...). I know I can do this with stackapply from package ...
0
votes
0answers
33 views

QGIS: NetCDF file not aligned with OpenStreetMap

I want to show a 2m height temperature layer that covers most of Canada and northern United States. The data itself is initially a .grib2 file obtainable from the Gov of Canada free public weather ...
1
vote
1answer
71 views

Reproject NetCDF file using gdalwarp?

I'm trying to convert this file to EPSG:3857 with this command: gdalwarp -t_srs EPSG:3857 S2A_rhow_l2r.nc test-proc.nc Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute Warning 1: Several ...
0
votes
1answer
34 views

In QGIS: NetCDF image too pixelated

When i import NetCDF file (.nc) to QGIS then I get a picture that consists of quite big pixels. Is it somehow possible to soften those pixels to get something like this:
1
vote
1answer
21 views

Exporting NetCDF layer with defined colors using QGIS?

I have average wind speed NetCDF file (.nc) that I imported to QGIS. Then I defined colors for wind speeds in equal interval (3, 3.5, 4, 4.5 etc). Now I would like to save this colored map for sharing ...
0
votes
0answers
25 views

Converting Level-2 NEXRAD to NetCDF

I need to convert Level-2 NEXRAD files (from https://mesonet-nexrad.agron.iastate.edu/level2/raw/) to NetCDF. I am currently on a Linux system. Has anyone had any success doing this?
1
vote
1answer
37 views

NetCDF: Why store coordinates as matrix

I am reading the documentation of Python library xarray After having opened multiple NetCDFs and explored their contents, I see that some files store their coordinates as a matrix and some store ...
0
votes
0answers
57 views

Read NetCDF4 variable attributes and write them to variables of new file

I have a NetCDF4 file input.nc4 with variables alpha, beta, gamma. I want to create a new NetCDF4 file output.nc4 with variable names alpha_new, beta_new, gamma_new. The attributes of alpha_new, ...
0
votes
0answers
38 views

Using ArcPy 'Make NetCDF Raster Layer' tool for netCDF files composed of various sub-groups?

I have some netCDF data that I have been trying to import into ArcMap with ArcPy using the Make NetCDF Raster Layer tool. This should be straightforward, except I believe the structure of my NC files ...
1
vote
0answers
10 views

Band rerendering netcdf file by variable not time. Using gdal, nco, cdo

I want to average netcdf data (band1: precipitation) in bins (i.e. 0.01,0.10,0.25,0.5,0.75,1.0, etc.). What nco, gdal, or nco tools can I use to regrid the netcdf file this way?
0
votes
0answers
42 views

PostGIS Out-DB Rasters - Segmentation Fault

I am loading data from a NETCDF file with raster2pgsql, which I would like to keep as an out-DB raster. The command I use is (note the -R option): raster2pgsql -s 96482 -I -d -F -R NETCDF:"/home/...
3
votes
1answer
88 views

Value NAN in netcdf4 file for lat&lon using python

I have two file netcdf4 ( latlon and other file without latlon) i open the 2 file in the same code and i choose one variable and the two variable lon and lat when i write lon i have the value nan i ...
1
vote
0answers
38 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
27 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
61 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
127 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
137 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
88 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
63 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
89 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
36 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
38 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
20 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
42 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
36 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
65 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
25 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, ...
0
votes
0answers
22 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
56 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. ...
3
votes
1answer
521 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
104 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
35 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
108 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
21 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
154 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
232 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
832 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
50 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
99 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 ...