[Thread Prev][Thread Next][Index]

Re: [ferret_users] axis transfer from depth to time-reg



Dear Ferreters,

You can look at the header information for a netCDF dataset using the Unix command ncdump:

> ncdump -h filename.nc

The output of this command shows the dimensions defined in the file, and the variables and coordinate variables that it contains.

There is more about netCDF files in the Ferret Users' guide, https://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/converting-to-netcdf.

The full CF standard is here (quite a long document!)  https://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html


It's quite a long document but to fix the current problem is easy: Add an attribute

axis="T"

to the time coordinate variable.

I recommend everybody fix the dataset instead of trying to accommodate a non-conforming dataset when you use it.  Adhering to the CF convention when you create your netCDF file brings overall benefits to the users of the dataset.

Ryo


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement