Questions tagged [netcdf]

NetCDF (Network Common Data Form) is a self-describing data format developed by University Corporation for Atmospheric Research (UCAR).

Filter by
Sorted by
Tagged with
3 votes
0 answers
66 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 ...
user avatar
  • 31
1 vote
0 answers
46 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 (...
user avatar
  • 11
3 votes
0 answers
44 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 ...
user avatar
5 votes
2 answers
659 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 ...
user avatar
3 votes
0 answers
81 views

Calculating layer thickness in python

I have calculated the $∂θ_\varepsilon/∂z$ with 'Height', 'Latitude', 'Longitude' dimensions. ...
user avatar
  • 31
1 vote
0 answers
43 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 ...
user avatar
  • 111
9 votes
4 answers
255 views

Language to modernize a scientific Fortran codebase

Dear earth science community, I am seeking a language to modernize a large Fortran project that works with geospatial NetCDF files. The requirements for this language include: A rock-solid NetCDF ...
user avatar
  • 203
3 votes
0 answers
33 views

What is the difference between the CF standard_names `platform_id` and `platform_name`

The two CF standard names platform_id and platform_name strike me as being redundantly similar. From their definition in the CF standard name table: platform_id: alias: station_wmo_id A variable with ...
user avatar
2 votes
1 answer
65 views

Storing borehole interval data (logs) in netcdf

I have a number of datasets that describe geological properties as intervals down a borehole (e.g. unit codes, sample results) In a database, or a flat ASCII file, I would describe these with a ...
user avatar
0 votes
0 answers
225 views

how can I write my netCDF file in my wrfinput_d01 format

I have a netCDF data file as my emmission data in netCDF format. I have interpolated it in my wrfinput_d01 resolution by using CDO. I can write my data to a netCDF ...
user avatar
  • 191
1 vote
1 answer
72 views

Temperature at 2 m MERRA2

I need MERRA2 data with Temperature at 2m. I'm checking on https://disc.gsfc.nasa.gov/daac-bin/FTPSubset2.pl but I can't find this variable. Suggestions where I can find them? Or anyone that did ...
user avatar
  • 67
1 vote
2 answers
365 views

WRF/Chem: Editing NetCDF (wrfchemi files) for own emissions

Does anybody here have any experience with editing wrfchemi outputs from the prep_chem utility so that I overwrite the file with my own emissions? I am knowledgeable in python, but I am not that well ...
user avatar
  • 301
4 votes
1 answer
278 views

How to determine the orientation of coastline from NetCDF file

I have a NetCDF file (gridded data) with a landsea mask. I would like to determine, for the coastal grid-cells, what the orientation of the coastline is. I need to do this in order to calculate the ...
user avatar
  • 587
2 votes
2 answers
285 views

Huge netcdf files handling

Can any one help me to handle huge netcdf files each of 1gb memory in loop and at least 2 files at a time in ncl or linux or python or matlab. for example era_interim daily pressure level datasets.
user avatar
  • 29
8 votes
1 answer
500 views

Regarding compression, shuffle filter of netcdf4

I read the doc but still have no idea about what are the advantages to enable or disable the shuffle, what level [0-9] of compression is optimal, what's the best choice of chunk size?
user avatar
3 votes
1 answer
1k views

Adding time dimension and corresponding new variable to a netcdf file

I have created a x,y netcdf file and now want to add additional time energy variable. So that for each grid cell I have a energy time value. My script is like this in Python: ...
user avatar
6 votes
0 answers
91 views

Generating netCDF file composed of zeros?

I need to generate an all-zeros file as an input file for an Earth Systems model (DGVM) I'm using. I have a file with the same dimensions as the zero file. I have R and MATLAB and use a Fedora machine....
user avatar
2 votes
1 answer
1k views

How to prepare GrADS's .ctl file to convert grd file into .nc file in batch mode?

I have lots of grd (GrADS) file and I want to convert those data into netCDF file using cdo. The operation needs all the corresponding ctl file and I will have to prepare all these. So, my question is ...
user avatar
2 votes
0 answers
76 views

Unable to read modis sst netcdf file in matlab [duplicate]

I'm using Matlab to read MODIS Aqua sea surface temperature data. Unfortunately I am not able to do it. It will be great if any of you can help me with that. ...
user avatar
5 votes
1 answer
92 views

Digitalizing precipitation data from the image of weather map

I have a set of very old precipitation anomaly maps, from 1995-2006 for Brazil. The data of these maps, is to the best of my knowlegde, lost. I would like to have them digitalized, ie, to NetCDF or ...
user avatar
  • 163
2 votes
1 answer
220 views

How to correct PSMSL data for GIA?

I have a PSMSL RLR (revised local reference) sea level dataset with records from various tide gauges. Can anyone explain how to correct them for GIA (glacial isostatic adjustment) using the ICE-5G ...
user avatar
  • 21
11 votes
1 answer
6k views

Plotting wind barbs in python

I'm trying to plot wind barbs in basemap and I have two separate netCDF files. Here is what I am trying to produce, or something like it: How do I read a uwnd variable in a netCDF file in python? <...
user avatar
  • 121
7 votes
1 answer
2k views

How to read a NetCDF4 file in Matlab?

I have downloaded the sea surface temperature data from the Ocean Color website, the file is in NetCDF format and contains no of geophysical_data variables like sst,...
user avatar
  • 73
8 votes
1 answer
5k views

CDL File Questions

I'm confused by what exactly a CDL file is and what its purpose is. Unidata specifies the syntax of such a CDL file in its netCDF documentation. Questions: Are CDL files designed to be opened by a ...
user avatar
  • 1,811
21 votes
7 answers
3k views

What tools allow a quick comparison of NetCDF output from ocean models?

I am writing my own MATLAB scripts to do most of the visualization and data analysis of model results. I wonder if there is a quicker way for visual comparison of simulation results gained from ...
user avatar
  • 562