Recipe: Read file metadata: Difference between revisions

Pchakrab (talk | contribs)
Pchakrab (talk | contribs)
 
Line 7: Line 7:
For the purpose of this example, we assume that we have already downloaded the file c1440_NR.inst01hr_3d_T_Cv.20060918_0900z.nc4 from the ftp server. For more information about file naming conventions, and how to download a file from the ftp server, please follow the links in the [[#See Also]] section.
For the purpose of this example, we assume that we have already downloaded the file c1440_NR.inst01hr_3d_T_Cv.20060918_0900z.nc4 from the ftp server. For more information about file naming conventions, and how to download a file from the ftp server, please follow the links in the [[#See Also]] section.


The easiest way to read metadata of a NetCDF-4 file is to use the utility <code>ncdump</code> that comes with the NetCDF-4 installation.
The easiest way to read metadata of a G5NR data file is to use the utility <code>ncdump</code> that comes with the NetCDF-4 installation.


For header information only (no data), one can issue the command
For header information only (no data), one can issue the command