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
1answer
14 views

How to create a raster layer from NetCDF file having multiple variable with multiple dimensions?

I have a single NetCDF file which has 3 variables named temperature, salinity and pressure and each of these variable have 3 dimensions which are lat,long and time. I want to display this file as a ...
0
votes
1answer
20 views

Georeferencing Sentinel-3 LST product

I have been stuck attempting to convert Sentinel-3 LST netCDF data to geotiffs for a while now as part of my master's thesis. Firstly, an introduction to the data. It is packaged as follow: The data ...
2
votes
1answer
17 views

How to find the mean of a given variable in NetCDF regardless of latitude and longitude?

I have extracted temperature t2m data from a NetCDF file for certain regions, and now I would like to find the overall mean temperature per timestamp for the given regions. The dimension of the NetCDF ...
0
votes
1answer
33 views

How to save a NetCDF file with proper timestamp in R?

I have simply made everything ready for saving my NetCDF but during saving the file I cannot save the timestamp as before. Previously, the timestamp was 1970-01-01 00:00:00.0 and the unit hours since ...
2
votes
0answers
19 views

How to transform ERA5 vertical datum to WGS84

I am trying to plot a netcdf file from ECMWF ERA5 in a folium map but I am having troubles with the projections in the file. ECMWF documentation states: ECMWF data is referenced in the horizontal with ...
2
votes
1answer
24 views

Why are the coordinates in the ODC different from the input data?

Why are the coordinates in the ODC different from the input data? I prepared the following example for clarification and discussion. The used dataset is shown in the following two images: Simple plot ...
0
votes
0answers
15 views

“Make NetCDF Table View” for multiple locations in ArcMap

I have a NetCDF dataset, and I want to extract the values for several locations. I use the "Make NetCDF Table View" tool. As you know, there is "Dimension Values" at the bottom of ...
0
votes
0answers
34 views

GDAL changes pixel resolution when transforming from HDF to netCDF

Using the MODIS product MCD18A1.061 (DSR 1km), tile h15v05-2001001, my goal is to extract the scientific datasets that are contained in an HDF to several netCDFs. For this, I used the following gdal ...
0
votes
0answers
40 views

NetCDF4 file to raster with Python

I am trying to read NetCDF4 files from data developed by Toshicika Iizumi (https://doi.pangaea.de/10.1594/PANGAEA.909132) on global crop yields. I would like to turn the data into a form that is ...
1
vote
1answer
23 views

How to create a NetCDF mesh with x y vector data for QGIS mesh display

I have created a NetCDF mesh with u and v variables for velocity. I can load it onto QGIS 3.14 as a mesh layer. The variables are not recognized as vector though (isVector : No is displayer in group ...
1
vote
1answer
34 views

Visualize NetCDF4 file containing burnt area data with QGIS

I've been trying for a while to get QGIS to visualize a ~300 MB .nc file (netCDF4). Data is burnt area data from here: Copernicus Global Land Service. What I currently do is either drag the nc file to ...
0
votes
1answer
18 views

How to apply cdo mask command to loop over multiple .nc files in Python?

I want to use the cdo command for masking the .nc file (the command below): cdo div input.nc maskfile.nc outputfile.nc The command above should be applied over multiple .nc files (looping) in python, ...
0
votes
1answer
30 views

Multiplying multiple specific areas in NetCDF file with constants

I have wind speed NetCDF files for the UK (land and sea areas) I wanted to multiply a constant (say 1.5) by the wind variable for all land areas and a constant (say 2.4) for all sea areas. How can I ...
0
votes
1answer
46 views

Image is South up while converting NetCDF layer to GTiff with gdal_translate

Issue: I'm trying to extract a NetCDF layer to GeoTIFF. The output GeoTIFF image has the South up. What I need: The output GeoTIFF image with North up. GDAL version: 3.2.2, released 2021/03/05; OS: ...
1
vote
0answers
30 views

Cannot open NetCDF file

I produced a NetCDF file by combining two others using NCO (specifically ncbo command). I cannot open the output with QGIS though. Indeed, I get the following error msg: "Download with "...
1
vote
1answer
19 views

Seeking plugin like NetCDF Browser for QGIS 3.0 and above

Is there a plugin that fulfills the same function as NetCDF Browser (i.e. to browse multi-variable and multi-dimensional NetCDF files) but is available for QGIS versions 3.0 and above?
1
vote
2answers
49 views

Showing lat long instead of numbered index on spatial data map

I am trying to project meteorological data from a netcdf4 file with its latitude and longitude information and I am not getting how to show lat-long information on the x and y-axis, in the image ...
0
votes
2answers
31 views

How to mask and scale raster using rasterio?

I have been trying to read a raster file in netcdf format which I will later on sample. I need to read using the DatasetReader as float. When I read: ds = rasterio.open(f'netcdf:{file}:AOT_L2_Mean', ...
0
votes
1answer
39 views

Processing many NetCDF files using ArcPy gives Serious Application Error

I am processing more than 5k NetCDF files in ArcPy, using ArcGIS Desktop 10.5. I am doing it using the Python console of ArcMap. The process runs well, but when around 113 files are done, the process ...
1
vote
0answers
22 views

Exporting NetCDF file as GeoTiFF

I am trying to automate the export of NetCDF files into GeoTIFF. However the export could not give me the same result that I do it manually. I am quite new so wasn't sure which part went wrong. This ...
0
votes
0answers
21 views

Mosaicking NetCDF files on GeoServer

I am trying to use ImageMosaic plugin on Geoserver in order to read NetCDF files. I follow this tutorial : https://docs.geoserver.geo-solutions.it/edu/en/multidim/mosaic_config/netcdf_mosaic.html# ...
0
votes
1answer
73 views

Handle Curvilinear/rotated grid NetCDF file in R

I have a NetCDF file with a curvilinear (rotated) grid that contains meteorological data. I am trying to crop the NetCDF based on a mask shapefile in R, but the rotated grid does project the data in ...
1
vote
1answer
44 views

How to Convert ROW/COL to Lat/Long in Python/NetCDF4

I'm relatively new to NetCDF and working with a CMAQ model output in NetCDF format. There is no explicit lat/long variable, rather each variable is stored with a ROW/COL. I assume the Global ...
1
vote
0answers
36 views

Why does raster still have pixels around edge when clipped?

I am trying to clip a raster in ArcMap 10.6 (derived from 'make nedcdf raster') to the shape of the Ireland polygon and I keep getting back pixels around the edge: I have tried 'Clip' in 'Data ...
4
votes
0answers
75 views

How to index and load a time-stacked NetCDF file with Open Data Cube?

Our use case is to make a time-stacked NetCDF file accessible via Open Data Cube. Each NetCDF file (CMEMS data) has a time coordinate variable, with 8 time points evenly distributed over a range of ...
0
votes
0answers
29 views

gdal_translate NetCDF subdataset to GeoTIFF for a 1D raster with output as a 2D raster

Test input NetCDF file: dropbox link; file-size: 58mb (Name: cygnss_l2_test.nc) Objective: Convert "wind_speed" subdataset in the NetCDF file to GeoTIFF file wth output as a 2D map ...
0
votes
0answers
9 views

Difference in CRS when reading with read_stars und read_ncdf

I have a NetCDF file that I would like to load into a stars object. The two functions st::read_stars and st::read_ncdf both load it in, but the data ends up in different locations when I plot it using ...
0
votes
1answer
29 views

Reading CRS and Affine transformation from a NetCDF with CF conventions

I have a NetCDF with geographical information. I'd like to obtain a GeoTIFF file with rasterio. The problem is how to translate the geographical information from CF standard to something that GeoTIFF ...
1
vote
0answers
31 views

Web GIS with NetCDF data

I have NetCDF data and am trying to transform this into JSON, using Python, to then use in a web sig (NCWMS server). By transforming this into JSON, could I display this same data dynamically (with ...
0
votes
0answers
71 views

Visualising NetCDF from Delft3D in QGIS

I have some results from a simulation in Delft3D that I'd like to visualise as a mesh in QGIS. For example, I'd like to see the change in water level at a different time step in the domain. The file ...
0
votes
0answers
52 views

Extracting all levels of a NetCDF file and exporting as multiband raster

I am trying to convert this .nc file with land cover data from ESA CCI (http://maps.elie.ucl.ac.be/CCI/viewer/download.php). There is a separate .nc file for each year, and each file contains the ...
0
votes
0answers
32 views

Time encoding for xarray to netCDF

While looking at this webpage, it seems there is an inconsistency for the time units handling. Copying and pasting from the webpage: from cftime import date2num time_units = 'hours since {:%Y-%m-%d 00:...
0
votes
0answers
23 views

WMS too large, blank raster

I am trying to load a WMS-T in QGIS that entails modelled air temperature for the world. I am able to load the WMS connection in my sidepane. But the raster itself won't display and stays blank. In ...
1
vote
0answers
41 views

gdal_translate: unknown displacement after transformation

I am new to GDAL and after a lot of research I cannot find a solution to my problem. I want to extract a Scientific DataSet (SDS) from an HDF file, but when I do this with gdal_translate there is a ...
0
votes
0answers
11 views

ArcGIS Pro: Make NetCDF Raster Layer, with lon/lat stored in variables

I have a netCDF file with dimensions 'xi' and 'eta', one-dimensional variables 'lon' and 'lat' that provide the coordinates for each grid point, and two-dimensional variables for 'SST' and 'salinity'. ...
1
vote
0answers
23 views

Clip nc file with shapefile

I know the question has been asked before, but I get an error trying to clip my nc file with a shapefile with the method used in this post. My error is DimensionError: x dimension not found. '...
0
votes
1answer
39 views

Working with irregularly spaced gridded NetCDF data in R [closed]

I'll be working with modelled air pollution data soon. I've been given some sample data and it looks like the grid is very irregular ('brick' will throw an error about irregular grid), which makes it ...
0
votes
0answers
46 views

Conflicting sizes for dimension 'time' with rioxarray

I've been using rioxarray to convert netcdf files to geotiffs, and up till now, it's worked great. However, when I open a ERA5 reanalysis netcdf dataset, rioxarray appears to find that the data size ...
0
votes
1answer
56 views

NetCDF - QGIS does not recognize projection

I have downloaded a netcdf (.nc) file from here: https://nsidc.org/data/NSIDC-0756/versions/2 In order to display in QGIS I have extracted one variable from it. The file successfully displays in ...
2
votes
1answer
48 views

Replacing NetCDF file under the hood in GeoServer

I'm receiving NetCDF files hourly, and would like to update them and then refresh them (as the time steps and values change). Within the API, I'm not sure which endpoint would be useful after reading ...
0
votes
0answers
39 views

“Argument list too long” error while converting shapefile to NetCDF

I'm trying to convert a point shapefile to a NetCDF (.nc) file with QGIS using the tool Rasterize (vector to raster), but I keep getting error. Below is the log from one of my trials. QGIS version: 3....
0
votes
0answers
19 views

Extracting Values from Multidimensional Raster

I am currently doing my dissertation on hurricanes and their relationship with Sea Surface Temperature. I am using a NetCDF file with dimensions: latitude, longitude, and time I need to extract a ...
0
votes
1answer
330 views

How do I run Panoply (from NASA GISS) on Windows 10?

I am unable to run Panoply (from NASA GISS) to view NetCDF files. When I try to run it, it tells me that I need Java Runtime Environment 9, but the latest version of JAVA from the Oracle website is 8....
5
votes
2answers
178 views

Converting NetCDF files to geo-referenced GeoTIFF

I have a NetCDF .nc file that gives me an initial error Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute from gdalinfo. After searching I found out this relates to NetCDF files having no inherent ...
0
votes
0answers
95 views

Using R NetCDF raster stack is missing its CRS, how can I assign one?

The data I am using was not generated by me, however, I am stuck with using it anyways. My issue is, that in R, the CRS of the raster stack is missing or NA. If I open it with ArcGIS or Unidata (!the ...
0
votes
1answer
47 views

File conversion from .nc to .tiff

I'm downloading .nc file from here: https://www.cpc.ncep.noaa.gov/products/CFSv2/dataInd3/glbPrecMon.nc I want to convert .nc file to .tiff file. I used raster to read file its not working. It's ...
2
votes
0answers
53 views

Configuring NetCDF for GeoServer

I have multidimensional meteodata I want to upload on GeoServer (2.17) using NetCDF format. So far, I don't care about projection other than WGS84. Following a documentation I tried to create in R ...
0
votes
0answers
51 views

Translate to GTiff from NOAA nc file

I have level 2 of NOAA nc file. The data is in https://1drv.ms/u/s!AjXAWS5maHffhyqaxqd61ok-SFsY?e=mcUdnE. I want to open the file in QGIS or GRASS GIS. But, they don't recognize it. So, I use GDAL. I ...
0
votes
1answer
54 views

Creating a Rectangle in GIS using JSON

I am trying to use a USGS product called AppEARS to download data. I want all data across the world, but the interface wants me to specify a region. How can I write a JSON file that will allow me to ...
1
vote
1answer
47 views

Is such way to import the NetCDF file in R correct?

Recently, I asked the same question on the Stack Overflow forum and was directed to this forum: https://stackoverflow.com/questions/65467765/is-such-way-to-import-the-netcdf-file-in-r-correct. To sum ...

1
2 3 4 5
11