SCALE-RM
|
module Gtool_History More...
Functions/Subroutines | |
subroutine, public | historyinit (item_count, variant_count, isize, jsize, ksize, master, myrank, rankidx, title, source, institution, time_start, time_interval, time_units, time_since, default_basename, default_zcoord, default_tinterval, default_tunit, default_taverage, default_datatype, namelist_filename, namelist_fid) |
subroutine, public | historycheck (existed, item, zcoord) |
subroutine, public | historyaddvariable (nregist, item, dims, desc, units, now_step, zcoord, options, start, count, comm) |
subroutine | historyputaxissp (name, desc, units, dim, var, datatype, down, gsize, start) |
subroutine | historyputaxisdp (name, desc, units, dim, var, datatype, down, gsize, start) |
subroutine | historyput1dassociatedcoordinatessp (name, desc, units, dims, var, datatype, start) |
subroutine | historyput1dassociatedcoordinatesdp (name, desc, units, dims, var, datatype, start) |
subroutine | historyput2dassociatedcoordinatessp (name, desc, units, dims, var, datatype, start) |
subroutine | historyput2dassociatedcoordinatesdp (name, desc, units, dims, var, datatype, start) |
subroutine | historyput3dassociatedcoordinatessp (name, desc, units, dims, var, datatype, start) |
subroutine | historyput3dassociatedcoordinatesdp (name, desc, units, dims, var, datatype, start) |
subroutine | historyput4dassociatedcoordinatessp (name, desc, units, dims, var, datatype, start) |
subroutine | historyput4dassociatedcoordinatesdp (name, desc, units, dims, var, datatype, start) |
subroutine, public | historysettattr (varname, key, val) |
subroutine, public | historyquery (item, step_now, answer) |
subroutine, public | historywriteall (step_now) |
subroutine, public | historywriteaxes |
subroutine, public | historywrite (id, step_now) |
subroutine | historyget1ddp (var, basename, varname, step, allow_missing, single) |
subroutine | historyget1dsp (var, basename, varname, step, allow_missing, single) |
subroutine | historyget2ddp (var, basename, varname, step, allow_missing, single) |
subroutine | historyget2dsp (var, basename, varname, step, allow_missing, single) |
subroutine | historyget3ddp (var, basename, varname, step, allow_missing, single) |
subroutine | historyget3dsp (var, basename, varname, step, allow_missing, single) |
subroutine, public | historyoutputlist |
subroutine, public | historyfinalize |
module Gtool_History
name | type | default value | comment |
---|---|---|---|
HISTORY_TITLE | character(len=File_HMID) | > Header information of the output file: title | |
HISTORY_SOURCE | character(len=File_HMID) | > Header information of the output file: model name | |
HISTORY_INSTITUTION | character(len=File_HMID) | > Header information of the output file: institution | |
HISTORY_TIME_UNITS | character(len=File_HMID) | > Unit for time axis | |
HISTORY_DEFAULT_BASENAME | character(len=File_HLONG) | > base name of the file | |
HISTORY_DEFAULT_TINTERVAL | real(DP) | > time interval | |
HISTORY_DEFAULT_TUNIT | character(len=File_HSHORT) | > time unit | |
HISTORY_DEFAULT_TAVERAGE | logical | > apply time average? | |
HISTORY_DEFAULT_ZCOORD | character(len=File_HSHORT) | > default z-coordinate | |
HISTORY_DEFAULT_DATATYPE | character(len=File_HSHORT) | > data type | |
HISTORY_OUTPUT_STEP0 | logical | .false. | > Output value at step=0? |
HISTORY_OUTPUT_WAIT | real(DP) | 0.0_DP | > Time length to suppress output [sec] |
HISTORY_ERROR_PUTMISS | logical | .true. | > Abort if the value is never stored after last output? |
DEBUG | logical | .false. |
name | type | default value | comment |
---|---|---|---|
ITEM | character(len=*) | ||
OUTNAME | character(len=File_HSHORT) | > name of variable (for output) | |
BASENAME | character(len=*) | ||
TINTERVAL | real(DP) | > time interval | |
TUNIT | character(len=File_HSHORT) | > time unit | |
TAVERAGE | logical | > apply time average? | |
ZCOORD | character(len=*) | ||
DATATYPE | character(len=*) |
subroutine, public gtool_history::historyinit | ( | integer, intent(out) | item_count, |
integer, intent(out) | variant_count, | ||
integer, intent(in) | isize, | ||
integer, intent(in) | jsize, | ||
integer, intent(in) | ksize, | ||
integer, intent(in) | master, | ||
integer, intent(in) | myrank, | ||
integer, dimension(:), intent(in) | rankidx, | ||
character(len=*), intent(in) | title, | ||
character(len=*), intent(in) | source, | ||
character(len=*), intent(in) | institution, | ||
real(dp), intent(in) | time_start, | ||
real(dp), intent(in) | time_interval, | ||
character(len=*), intent(in), optional | time_units, | ||
character(len=*), intent(in), optional | time_since, | ||
character(len=*), intent(in), optional | default_basename, | ||
character(len=*), intent(in), optional | default_zcoord, | ||
real(dp), intent(in), optional | default_tinterval, | ||
character(len=*), intent(in), optional | default_tunit, | ||
logical, intent(in), optional | default_taverage, | ||
character(len=*), intent(in), optional | default_datatype, | ||
character(len=*), intent(in), optional | namelist_filename, | ||
integer, intent(in), optional | namelist_fid | ||
) |
REAL4 : single precision REAL8 : double precision
Unit for time axis
base name of the file
time interval
time unit
apply time average?
default z-coordinate
data type
Definition at line 237 of file gtool_history.f90.
References gtool_file_h::file_preclist, gtool_file_h::file_real4, and gtool_file_h::file_real8.
Referenced by scale_history::hist_setup().
subroutine, public gtool_history::historycheck | ( | logical, intent(out) | existed, |
character(len=*), intent(in) | item, | ||
character(len=*), intent(in), optional | zcoord | ||
) |
Definition at line 564 of file gtool_history.f90.
Referenced by scale_history::hist_reg(), and historyaddvariable().
subroutine, public gtool_history::historyaddvariable | ( | integer, intent(out) | nregist, |
character(len=*), intent(in) | item, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
integer, intent(in) | now_step, | ||
character(len=*), intent(in), optional | zcoord, | ||
character(len=*), intent(in), optional | options, | ||
integer, dimension(:), intent(in), optional | start, | ||
integer, dimension(:), intent(in), optional | count, | ||
integer, intent(in), optional | comm | ||
) |
Definition at line 615 of file gtool_history.f90.
References gtool_file::fileattachbuffer(), gtool_file::filecreate(), gtool_file::filedefassociatedcoordinates(), gtool_file::filedefaxis(), gtool_file::filesetoption(), gtool_file::filesettattr(), historycheck(), and dc_log::log().
Referenced by scale_history::hist_reg().
subroutine gtool_history::historyputaxissp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), intent(in) | dim, | ||
real(sp), dimension(:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
logical, intent(in), optional | down, | ||
integer, intent(in), optional | gsize, | ||
integer, intent(in), optional | start | ||
) |
Definition at line 871 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyputaxisdp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), intent(in) | dim, | ||
real(dp), dimension(:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
logical, intent(in), optional | down, | ||
integer, intent(in), optional | gsize, | ||
integer, intent(in), optional | start | ||
) |
Definition at line 953 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput1dassociatedcoordinatessp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(sp), dimension(:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1033 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput1dassociatedcoordinatesdp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(dp), dimension(:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1108 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput2dassociatedcoordinatessp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(sp), dimension(:,:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1183 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput2dassociatedcoordinatesdp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(dp), dimension(:,:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1258 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput3dassociatedcoordinatessp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(sp), dimension(:,:,:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1333 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput3dassociatedcoordinatesdp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(dp), dimension(:,:,:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1408 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput4dassociatedcoordinatessp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(sp), dimension(:,:,:,:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1483 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine gtool_history::historyput4dassociatedcoordinatesdp | ( | character(len=*), intent(in) | name, |
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | units, | ||
character(len=*), dimension(:), intent(in) | dims, | ||
real(dp), dimension(:,:,:,:), intent(in) | var, | ||
character(len=*), intent(in), optional | datatype, | ||
integer, dimension(:), intent(in), optional | start | ||
) |
Definition at line 1558 of file gtool_history.f90.
References gtool_file_h::file_real4, gtool_file_h::file_real8, and dc_log::log().
subroutine, public gtool_history::historysettattr | ( | character(len=*), intent(in) | varname, |
character(len=*), intent(in) | key, | ||
character(len=*), intent(in) | val | ||
) |
Definition at line 1629 of file gtool_history.f90.
References gtool_file::filesettattr().
subroutine, public gtool_history::historyquery | ( | character(len=*), intent(in) | item, |
integer, intent(in) | step_now, | ||
logical, intent(out) | answer | ||
) |
Definition at line 1654 of file gtool_history.f90.
References dc_log::log().
Referenced by scale_history::hist_query().
subroutine, public gtool_history::historywriteall | ( | integer, intent(in) | step_now | ) |
Definition at line 2108 of file gtool_history.f90.
References gtool_file::fileflush(), historywrite(), and historywriteaxes().
Referenced by scale_history::hist_write().
subroutine, public gtool_history::historywriteaxes | ( | ) |
Definition at line 2143 of file gtool_history.f90.
References gtool_file::fileenddef(), and gtool_file::fileflush().
Referenced by historywriteall().
subroutine, public gtool_history::historywrite | ( | integer, intent(in) | id, |
integer, intent(in) | step_now | ||
) |
Definition at line 2200 of file gtool_history.f90.
References historyoutputlist(), and dc_log::log().
Referenced by historywriteall().
subroutine gtool_history::historyget1ddp | ( | real(dp), dimension(:), intent(out) | var, |
character(len=*), intent(in) | basename, | ||
character(len=*), intent(in) | varname, | ||
integer, intent(in) | step, | ||
logical, intent(in), optional | allow_missing, | ||
logical, intent(in), optional | single | ||
) |
Definition at line 2295 of file gtool_history.f90.
subroutine gtool_history::historyget1dsp | ( | real(sp), dimension(:), intent(out) | var, |
character(len=*), intent(in) | basename, | ||
character(len=*), intent(in) | varname, | ||
integer, intent(in) | step, | ||
logical, intent(in), optional | allow_missing, | ||
logical, intent(in), optional | single | ||
) |
Definition at line 2340 of file gtool_history.f90.
subroutine gtool_history::historyget2ddp | ( | real(dp), dimension(:,:), intent(out) | var, |
character(len=*), intent(in) | basename, | ||
character(len=*), intent(in) | varname, | ||
integer, intent(in) | step, | ||
logical, intent(in), optional | allow_missing, | ||
logical, intent(in), optional | single | ||
) |
Definition at line 2385 of file gtool_history.f90.
subroutine gtool_history::historyget2dsp | ( | real(sp), dimension(:,:), intent(out) | var, |
character(len=*), intent(in) | basename, | ||
character(len=*), intent(in) | varname, | ||
integer, intent(in) | step, | ||
logical, intent(in), optional | allow_missing, | ||
logical, intent(in), optional | single | ||
) |
Definition at line 2430 of file gtool_history.f90.
subroutine gtool_history::historyget3ddp | ( | real(dp), dimension(:,:,:), intent(out) | var, |
character(len=*), intent(in) | basename, | ||
character(len=*), intent(in) | varname, | ||
integer, intent(in) | step, | ||
logical, intent(in), optional | allow_missing, | ||
logical, intent(in), optional | single | ||
) |
Definition at line 2475 of file gtool_history.f90.
subroutine gtool_history::historyget3dsp | ( | real(sp), dimension(:,:,:), intent(out) | var, |
character(len=*), intent(in) | basename, | ||
character(len=*), intent(in) | varname, | ||
integer, intent(in) | step, | ||
logical, intent(in), optional | allow_missing, | ||
logical, intent(in), optional | single | ||
) |
Definition at line 2520 of file gtool_history.f90.
subroutine, public gtool_history::historyoutputlist | ( | ) |
Definition at line 2559 of file gtool_history.f90.
References dc_log::log().
Referenced by historywrite().
subroutine, public gtool_history::historyfinalize | ( | ) |
Definition at line 2600 of file gtool_history.f90.
References gtool_file::fileclose(), and gtool_file::filedetachbuffer().