Create dimension variable in netCDF file. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gdncvarcreated (var, url, xtype, length, overwrite, err) |
Create dimension variable in netCDF file.
These subroutines and functions are provided as gtdata_netcdf_generic#Create through gtdata_netcdf_generic.
Definition in file gdncvarcreated.f90.
| subroutine gdncvarcreated | ( | type(gd_nc_variable), intent(out) | var, |
| character(len = *), intent(in) | url, | ||
| character(len = *), intent(in) | xtype, | ||
| integer, intent(in) | length, | ||
| logical, intent(in), optional | overwrite, | ||
| logical, intent(out), optional | err ) |
Create a dimension variable
Creates a dimension variable at the specified URL. The dimension length is specified by length. The returned var contains the variable ID and other information.
Setting overwrite to .true. enables overwrite mode (default: no overwrite). If err is provided, errors return .false. instead of terminating.
| [out] | var | Created variable handle |
| [in] | url | Variable URL |
| [in] | xtype | Data type (float, double, int, char) |
| [in] | length | Dimension length |
| [in] | overwrite | Enable overwrite mode (optional) |
| [out] | err | Error flag (optional) |
Definition at line 54 of file gdncvarcreated.f90.
References dc_trace::beginsub(), dc_trace::dbgmessage(), dc_trace::endsub(), dc_error::storeerror(), dc_types::string, and gtdata_netcdf_internal::vtable_add().