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
13 views

Reading in just one month of data from NetCDF file using ArcMap

I have a climatology dataset (gridded data (lat, lon)/12 layers(months) in NetCDF format and I want to look at January's data alone in ArcMap. So the dataset is approx 2000 x 1000 x 12 (longitude x ...
0
votes
0answers
15 views

Run or include gdal python scipt in Django-geoDjango

I am new to Django. I have a python script that prints the times, X, Y of the dataset in a specific NetCDF file. import gdal netfile = gdal.Open('NETCDF:"E:/Jobs/statr.nc":tm25') print 'Band ...
0
votes
1answer
34 views

Converting GeoTIFF file into NetCDF file in Python and file is empty

I am trying to convert a GeoTIFF file into NetCDF file (still remains all the information) using either rioxarray or xarray in python. The file is just empty. But when I checked the GeoTIFF file it ...
0
votes
0answers
34 views

ArcGIS Pro raster layer showing up in wrong place

I am very new to GIS and have only just started learning ArcGIS Pro. I have some satellite images that I have processed using a program called ACOLITE which outputs a NetCDF file. I am trying to use ...
1
vote
0answers
28 views

NetCDF with negative dimensions

I am trying to read a NetCDF file with rasterio (Python), however, the resulting affine is showing negative numbers. The .nc4 file comes from NOAA. How can I correct these negative dimensions? nc_fo = ...
0
votes
1answer
23 views

Raster does not match the target extent and shape of another raster ArcGIS

I have future climate data in .nc format. I transferred them into multiband rasters so I can separate them using another tool and make some calculations. I faced one issue in one variable where it had ...
0
votes
0answers
30 views

Cannot open NetCDF file with QGIS

I have a problem regarding the NetCDF files downloaded from this site: https://map.neweuropeanwindatlas.eu/ Every time I try to open any of the files using QGIS "Layer > Add Layer > Add ...
0
votes
0answers
15 views

How to visualize Curvilinear data on QGIS? Data works on Panoply. (Generated by Delft3D)

I have been trying to visualize curvilinear output data from Delft3D in QGIS but it seems that there is some issue with QGIS reading the file as it seems like it "flips" the longitude and ...
0
votes
1answer
52 views

How to convert GeoTIFF file into NeCDF file in Python Jupyter notebook without changing any information?

I am looking for a way to convert GeoTIFF raster file into NetCDF file using Python Jupyter notebook. I have tried function gdal.translate and xarray (.to_netcdf) (as below), but both of them gave me ...
1
vote
0answers
28 views

Voxel layer ArcGIS

This is the Python code to create a NC file using xarray library and NetCDF4. However, when it was loaded as a voxel layer in ArcGIS Pro, it wasn't able to display all the data. Only 4 data points ...
1
vote
0answers
36 views

NetCDF in QGIS --constructing time series using 1368 bands

I have the NetCDF file that contains monthly gridded temperature from 1900 to 2014 (air.mon.mean.v501.nc). The goal is to extract monthly time series for every polygon in my shapefile. Using the US ...
0
votes
0answers
6 views

CDO: Combining copy with sellonlatbox

I've got 30 years of meteorological data in 6 hour files, stored (on a Linux server) in directories by year, then by month. Each file contains hourly data (so 6 entries) for a large lat lon grid (~...
0
votes
0answers
24 views

How to use VSIMEM with NetCDF?

I saw this post that showed you can save gdal.translate() outputs in virtual memory using VSIMEM. Looking through the GDAL docs, it looks like the netCDF driver doesn't support virtual filesystems. ...
0
votes
0answers
29 views

Monthly Temperature NetCDF in QGIS 3

I tried to clip a raster layer and this sis the error I got. The following layers were not correctly generated.<ul><li>C:/Users/........../Temp/processing_......................./OUTPUT....
0
votes
0answers
29 views

Converting NetCDF and grid file downloaded from ECMWF - ERA5 hourly single level archived data to GeoTIFF format

I haven't worked much on GIS data. I have downloaded files from ECMWF portal from dataset - ERA5 hourly data on single levels from 1979 to present. I want to convert this file to GeoTIFF format so ...
1
vote
0answers
31 views

Conceptual question on comparing rasterized data with vectorized (polygons) data

I've got this doubt on how to best proceed with the following situation: I would like to compare two datasets, one (model_data) is a raster (NetCDF format), with lat, lon and time as coordinates, ...
0
votes
1answer
47 views

Opening a file having 2D coordinate system in ArcGIS Pro

I have a NetCDF file that has locations and events stored in 2D coordinates. For instance, the coordinates are stored like this lat(x,y), lon(x,y). Please refer to the latitude variable example image ...
0
votes
1answer
26 views

Which grid mapping to use for CF convention with EPSG 3411?

I have been trying to make a netCDF dataset compliant with the CF conventions. The dataset is currently in the EPSG 3411 NSIDC Sea Ice Polar Stereographic projection (i.e., x and y coordinate ...
0
votes
0answers
18 views

Copy Raster changes max and min values of the newly created raster band in ArcGIS Pro?

I am using ArcGIS Pro 2.8 and I imported a NetCDF file. Please find the NetCDF file attached. I imported it with multiple dimensions and multiple variables using the "Add Multidimensional Raster ...
1
vote
0answers
16 views

Using R to overlay a fine resolution grid on top of a coarse grid and for the fine grid to adopt the values from the coarse grid below

*When I refer to climatology here I am referring to a thirty year timeslice which is averaged monthly to produce a climatology (year of average data) for a specific variable. I have a high resolution '...
0
votes
0answers
31 views

After fixing NetCDF Extent Then Saving using R cannot open in ArcMap

I have some NetCDF files that aren't displaying correcly in ArcMap 10.7 (or when plotted in R...). I found some help fixing the extent here. Here is what I see for the extent: library(ncdf4) library(...
2
votes
0answers
51 views

gdal_translate Radial NetCDF to GeoTIFF does not create georeferenced image

I have weather radar data inside of a radial-NetCDF file. The public link to the file in question is here on my google drive. The variable name is "BaseReflectivityDR". I would like to ...
0
votes
0answers
33 views

Use R to extract variables of netcdf (not one file but from a list)

I am trying to read 100 netcdf files using the package ncdf4 of R. library(ncdf4) require(ncdump) library(reshape2) require(arrayhelpers) flist <- list.files(ncpath, pattern = "tempp.nc",...
0
votes
0answers
11 views

Convert .BIP file to NetCDF file

Does anyone know how to convert a .BIP file (hyperspectral image) to a NetCDF file? I found that Raster to NetCDF in ArcView can convert any raster files to NetCDF file, but it is only applicable to ...
0
votes
1answer
18 views

Sat data spatial resolution, where does the XY refer to in the grid?

I have downloaded some NetCDF data. Using R I can obtain the following information for the dimensions > bio_nc$dim$latitude$vals [1] 48.00 48.25 48.50 48.75 49.00 49.25 49.50 49.75 50.00 50.25 50....
1
vote
1answer
32 views

Assigning CRS to NetCDF (.nc) files in QGIS

I downloaded some land cover maps from Copernicus. I was able to load the .nc layers into QGIS (3.18.3, Windows64) where they displayed correctly, but no CRS appeared in Properties and I was unable to ...
0
votes
0answers
10 views

How to open NetCDF-file after "Failed to import variables from one or more datasets" -error appears

I've downloaded binned daily MODIS chlorophyll A data from https://oceandata.sci.gsfc.nasa.gov/MODIS-Aqua/Binned/Daily/CHL/2014/ (you might need to sign in) as NetCDF files and I'm trying to open ...
1
vote
1answer
41 views

How to find first temporal occurrence of specific values for each pixel

I have a NetCDF file for a given region in North America. It contains temperature data from 1959 to 2009. I would like to extract the first day on which the temperature exceeds 273 K for each pixel. ...
1
vote
1answer
40 views

Data masking and plotting issues xarray/rioxarray | geojson -> geoviews

I'm loading a NetCDF file (ERA5 surface temperatures), then I mask the data using country shapes, and finally generate a plot using geoviews. For the unmasked data everything works as intended. As ...
0
votes
0answers
17 views

What parameters of xarray I should set to upload the NetCDF in proper projection?

I save an xarray to NetCDF. I have all parameters of the projection and I can write them to xarray. I tried coord "spacial_ref" and attr 'grid_mapping='spatial_ref' while spatial ref is ...
0
votes
0answers
18 views

How to add to xarray information about projection while saving to NetCDF?

I have a .dat and a .ctl files (resulting of athmospheric model) Using xgrads python package I can read .ctl file dsetPath: geo_etr_d01.dat descPath: geo_etr_d01.ctl indxPath: stnmPath: title: ...
0
votes
1answer
22 views

GeoServer NetCDF plugin, read grid_mapping_name="vertical_perspective"

I am currently using NetCDF plugin for GeoServer. I would like to know if there is any solution to be able to read a NetCDF with the attribute grid_mapping_name="vertical_perspective". While ...
2
votes
1answer
55 views

How to calculate the corner points of a grid if centre points are know

I am working with a file which has the coordinates in WGS84 format. From this file I have calculated the Cartesian coordinates using the following code: import numpy as np import pyproj from netCDF4 ...
2
votes
1answer
192 views

Using rioxarray to assign spatial reference (EPSG:4326) to NetCDF built from CSV with lat long columns

I am trying to create a NetCDF from a CSV file. The idea comes from the fact that the original CSV comes with many columns, three of these representing: a specific year ("time") the Y ...
0
votes
0answers
12 views

Raster calculation with multiple NetCDF-files

I have different climate variables stored in separate NetCDF-files. I like to make calculation e.g. using formulas that consider variable1 and variable2 at each daily timestamp. However, I cannot ...
1
vote
1answer
55 views

QGIS 3.10 - NetCDF created with xarray "is not a valid or recognized data source"

I have a xarray DataSet ds created from a Pandas DataFrame whose info are the following: Dimensions: (lat: 144, lon: 140, year: 9) Coordinates: * year (year) object 1980 1985 ...
0
votes
1answer
56 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
87 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
46 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 ...
4
votes
0answers
63 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
51 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
24 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
42 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
60 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
2answers
41 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
40 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
58 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
91 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
62 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
43 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
2 3 4 5
11