Go to the source code of this file.
◆ gdncvartostring()
character(string) function gdncvartostring |
( |
type(gd_nc_variable), intent(in) |
var | ) |
|
Definition at line 2 of file gdncvartostring.f90.
References dc_types::string, and gtdata_netcdf_internal::vtable_lookup().
3 use dc_string
, only: cprintf
7 character(string):: result
12 result = cprintf(
"GD_NC_VARIABLE(bad id %d)", i=(/var%id/))
14 result = cprintf(
"GD_NC_VARIABLE(file=%d, var=%d, dim=%d)", &
15 & i=(/ent%fileid, ent%varid, ent%dimid/))
integer function, public vtable_lookup(var, entry)
Provides kind type parameter values.
integer, parameter, public string
Character length for string.