Get logical (boolean) attribute value . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gdncvargetattrlogical (var, name, value, default) |
Get logical (boolean) attribute value
.
Definition in file gdncvarattrtrue.f90.
| subroutine gdncvargetattrlogical | ( | type(gd_nc_variable), intent(in) | var, |
| character(len = *), intent(in) | name, | ||
| logical, intent(out) | value, | ||
| logical, intent(in), optional | default | ||
| ) |
Get attribute value as logical
Interprets an attribute value as a boolean. The following are interpreted as false (case-insensitive):
All other values are interpreted as true.
| [in] | var | Variable handle |
| [in] | name | Attribute name |
| [out] | value | Logical result |
| [in] | default | Default value if attribute not found (optional) |
Definition at line 44 of file gdncvarattrtrue.f90.
References dc_types::string, and gtdata_netcdf_internal::vtable_lookup().