Loading...
Searching...
No Matches
Reading NetCDF/HDF5 Format NetCDF Files of Unknown Structure

When using netCDF/HDF5 files (i.e.

NC_NETCDF4 without NC_CLASSIC_MODEL), reading an unknown file is more complex, because groups and multiple unilimited dimensions are permitted. User defined types may also be present.

To read an unknown netCDF/HDF5 file, start at the root group and then read each group recursively. Within each group, start by scanning for user-defined types.

The follow additional inquiry functions support netCDF/HDF5 files.

Files and Groups:

- nc_inq_ncid()
- nc_inq_grps()
- nc_inq_grpname()
- nc_inq_grpname_full()
- nc_inq_grpname_len()
- nc_inq_grp_parent()
- nc_inq_grp_ncid()
- nc_inq_grp_full_ncid()
- nc_inq_unlimdims()

User Defined Types:

- nc_inq_type_equal()
- nc_inq_type()
- nc_inq_user_type()
- nc_inq_typeid()
- nc_inq_compound()
- nc_inq_compound_field()
- nc_inq_vlen()
- nc_inq_enum()
- nc_inq_enum_member()
- nc_inq_opaque()