|
NEP 1.7.0
NetCDF Extension Pack: compression extensions for NetCDF
|
Read a NetCDF-4 file and print all metadata including user-defined types. More...
Functions/Subroutines | |
| program | f_dump_nc4_metadata |
| character(len=nf90_max_name) function | type_name (ncid, xtype) |
Read a NetCDF-4 file and print all metadata including user-defined types.
Fortran equivalent of dump_nc4_metadata.c. Reads a filename from the command line, opens the file, and prints all metadata:
Note: Fortran does not handle VLEN, String, or Compound types portably, so those type classes are reported by name only without detail.
Learning Objectives:
Prerequisites: Basic Fortran programming, familiarity with NetCDF-4
Compilation:
Usage:
| program f_dump_nc4_metadata |
| character(len=nf90_max_name) function f_dump_nc4_metadata::type_name | ( | integer, intent(in) | ncid, |
| integer, intent(in) | xtype | ||
| ) |