63 use gtool_history,
only: historyaxisinquire, historyaxisaddattr, &
64 & historyvarinfocreate
71 character(*),
intent(in):: dim
83 real,
intent(in):: array(:)
101 character(STRING):: name
103 character(STRING):: cause_c
104 character(*),
parameter:: subname =
"HistoryAutoPutAxisReal"
106 call beginsub(subname,
'dim=<%c>', c1=trim(dim) )
115 cause_c =
'gtool_historyauto'
120 call historyaxisinquire( &
123 if ( trim(dim) == trim(name) )
then
133 call storeerror(stat, subname, cause_c = cause_c)
168 & dim, array & ! (in)
171 use gtool_history,
only: historyaxisinquire, historyaxisaddattr, &
172 & historyvarinfocreate
179 character(*),
intent(in):: dim
191 real(DP),
intent(in):: array(:)
209 character(STRING):: name
211 character(STRING):: cause_c
212 character(*),
parameter:: subname =
"HistoryAutoPutAxisDouble"
214 call beginsub(subname,
'dim=<%c>', c1=trim(dim) )
223 cause_c =
'gtool_historyauto'
228 call historyaxisinquire( &
231 if ( trim(dim) == trim(name) )
then
241 call storeerror(stat, subname, cause_c = cause_c)
276 & dim, array & ! (in)
279 use gtool_history,
only: historyaxisinquire, historyaxisaddattr, &
280 & historyvarinfocreate
287 character(*),
intent(in):: dim
299 integer,
intent(in):: array(:)
317 character(STRING):: name
319 character(STRING):: cause_c
320 character(*),
parameter:: subname =
"HistoryAutoPutAxisInt"
322 call beginsub(subname,
'dim=<%c>', c1=trim(dim) )
331 cause_c =
'gtool_historyauto'
336 call historyaxisinquire( &
339 if ( trim(dim) == trim(name) )
then
349 call storeerror(stat, subname, cause_c = cause_c)
subroutine historyautoputaxisdouble(dim, array)
subroutine historyautoputaxisreal(dim, array)
subroutine historyautoputaxisint(dim, array)
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_noerr
Error storage variables
integer, parameter, public dc_enotinit
-400 or less: DC utilities errors
integer, parameter, public hst_enoaxisname
subroutine, public beginsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca, version)
subroutine, public endsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca)
Provides kind type parameter values.
integer, parameter, public dp
Double Precision Real number
integer, parameter, public string
Character length for string
integer, save, public numdims
type(gt_history_axis), dimension(1:nf90_max_dims), target, save, public gthst_axes
type(gt_history_axis_data), dimension(1:nf90_max_dims), target, save, public data_axes
logical, save, public initialized