Put real/double attribute to netCDF variable . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gdncvarputattrreal (var, name, value, err) |
| subroutine | gdncvarputattrdouble (var, name, value, err) |
Put real/double attribute to netCDF variable
.
Definition in file gdncvarputattrreal.f90.
| subroutine gdncvarputattrdouble | ( | type(gd_nc_variable), intent(in) | var, |
| character(len = *), intent(in) | name, | ||
| double precision, dimension(:), intent(in) | value, | ||
| logical, intent(out), optional | err ) |
Set double precision attribute value
Sets a double precision attribute on a variable. If name starts with '+', it is treated as a global attribute. Empty value array deletes the attribute.
| [in] | var | Variable handle |
| [in] | name | Attribute name |
| [in] | value | Double precision values to set |
| [out] | err | Error flag (optional) |
Definition at line 96 of file gdncvarputattrreal.f90.
References dc_url::gt_plus, dc_error::storeerror(), and gtdata_netcdf_internal::vtable_lookup().
| subroutine gdncvarputattrreal | ( | type(gd_nc_variable), intent(in) | var, |
| character(len = *), intent(in) | name, | ||
| real, dimension(:), intent(in) | value, | ||
| logical, intent(out), optional | err ) |
Set real (single precision) attribute value
Sets a real attribute on a variable. If name starts with '+', it is treated as a global attribute. Empty value array deletes the attribute.
| [in] | var | Variable handle |
| [in] | name | Attribute name |
| [in] | value | Real values to set |
| [out] | err | Error flag (optional) |
Definition at line 36 of file gdncvarputattrreal.f90.
References dc_url::gt_plus, dc_error::storeerror(), and gtdata_netcdf_internal::vtable_lookup().