Questions tagged [netcdf]
NetCDF (Network Common Data Form) is a self-describing data format developed by University Corporation for Atmospheric Research (UCAR).
34 questions
1 vote
1 answer
53 views
Catching a matlab ncread error?
If an expected variable is not present in the .nc file, is there a way to catch the Matlab error without it crashing the script?
0 votes
0 answers
40 views
NetCDF data of freshwater input into the North Atlantic
Is there a NetCDF database that simulates the freshwater input around Greenland? Ideally, a temporal resolution should also be available. That would help me a lot.
2 votes
2 answers
218 views
Efficient way to parse lat-lon grid at certain depth in tripolar model from nc file?
I am working on the ORAS5 dataset which comes as an archive of netCDF files. Currently, I am using python and netcdf4 to process it. My goal is to get surface level ocean currents across the globe (...
3 votes
0 answers
93 views
Handling large-scale climate dataset in R
I am analyzing ERA5 climate data spanning from 1950 to 2023, covering 73 years. The dataset has a daily temporal resolution and a spatial resolution of 0.25° (1440 x 720). Each yearly data is stored ...
1 vote
0 answers
50 views
Why does this method for weighting grid cells result in tiny values?
I'm working with a bunch of netCDF files for uni, hence the for loop. Its global coverage data, and because the Earth is not flat, we need to weight the pixels/grid ...
1 vote
0 answers
56 views
How to make netcdf plots like panoply in C++
Im trying to make netcdf plots like what panoply does but i am not sure how to get this code ...
3 votes
1 answer
141 views
Correlation calculation of masked array:
I have a sea surface temperature time series, and I want to calculate the (Pearson) correlation coefficients among the nodes in the tropics (30.0N to 30S). In the time series, the land information is ...
1 vote
0 answers
483 views
How can I calculate integrated water vapor transport (IVT) in NCL, R or Python?
I have netcdf (ERA5) file (u and v component of wind and specific humidity) between years 1970-2022. Are there any package or script documentation about that?
1 vote
0 answers
22 views
Is there a standardized metadata attribute for describing which classification system is used for a (string) variable?
Suppose I have a variable that is a classification of something. In this example, it is a classification of soil texture: ...
4 votes
0 answers
288 views
Extract data from NetCDF file with tripolar projection for lat & long coordinates
I have coordinates obtained from Google Maps (latitude and longitude). I also downloaded a number of NetCDF4 files for different years and months that contain sea surface temperature (SST) from the ...
2 votes
0 answers
125 views
How to convert CORDEX netcdf data to be used for importing data to DHI Mike?
I have the CORDEX netcdf data and I would like to convert them to raw text file that can be used for importing data to DHI Mike. To give more context, I have previously converted the ECMWF netcdf (...
3 votes
0 answers
174 views
Efficient way to find spatial extrema in 2-D space time netcdf field
I have a 2-D latitude-time zonal wind netCDF dataset (such as this small sample from ERA-Interim) from which I want to find all local maxima of the zonal wind as a function of latitude, for each time ...
5 votes
2 answers
1k views
Python - How to write interpolated raster to netcdf file
Currently i am dealing with a bunch of coordinates (epsg:4326 => lat/lon) and their corresponding value (temperature). The goal is to write these coordinates and their values into a simple netcdf ...
4 votes
0 answers
321 views
Calculating layer thickness in python
I have calculated the $∂θ_\varepsilon/∂z$ with 'Height', 'Latitude', 'Longitude' dimensions. ...
1 vote
0 answers
73 views
How to specify a certain place in a (CDS) weather data query?
I am trying to get time series data for a specific place (latitude and longitude) for different weather elements from the CDS datapool. Therefore, I am using the cdsapi package and can run queries ...