Attribute enumeration for netCDF variables. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gdncvarattrrewind (var) |
| subroutine | gdncvarattrnext (var, name, vend) |
Attribute enumeration for netCDF variables.
Definition in file gdncvarattr.f90.
| subroutine gdncvarattrnext | ( | type(gd_nc_variable), intent(in) | var, |
| character(len = *), intent(out) | name, | ||
| logical, intent(out), optional | vend | ||
| ) |
Get next attribute name in enumeration
Returns the next attribute name. Variable attributes are returned first, then global attributes (prefixed with '+').
| [in] | var | Variable handle |
| [out] | name | Attribute name (empty string when done) |
| [out] | vend | True when all attributes enumerated (optional) |
Definition at line 77 of file gdncvarattr.f90.
References dc_url::gt_plus, gtdata_netcdf_internal::vtable_lookup(), and gtdata_netcdf_internal::vtable_set_attrid().
| subroutine gdncvarattrrewind | ( | type(gd_nc_variable), intent(in) | var | ) |
Reset attribute iterator to beginning
| [in] | var | Variable handle |
Definition at line 43 of file gdncvarattr.f90.
References dc_trace::dbgmessage(), and gtdata_netcdf_internal::vtable_set_attrid().