Put integer attribute to a netCDF variable . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gdncvarputattrint (var, name, value, err) |
Put integer attribute to a netCDF variable
.
Definition in file gdncvarputattrint.f90.
| subroutine gdncvarputattrint | ( | type(gd_nc_variable), intent(in) | var, |
| character(len = *), intent(in) | name, | ||
| integer, dimension(:), intent(in) | value, | ||
| logical, intent(out), optional | err ) |
Set integer attribute value
Sets an integer attribute on a variable. If the name starts with '+', the attribute is treated as a global attribute. If value array is empty, the attribute is deleted.
| [in] | var | Variable handle |
| [in] | name | Attribute name |
| [in] | value | Integer values to set |
| [out] | err | Error flag (optional) |
Definition at line 37 of file gdncvarputattrint.f90.
References dc_url::gt_plus, dc_error::storeerror(), and gtdata_netcdf_internal::vtable_lookup().