| SCALE-RM
    | 
module HISTORY More...
| Functions/Subroutines | |
| subroutine, public | hist_setup | 
| Setup.  More... | |
| subroutine, public | hist_switch (switch) | 
| set switch  More... | |
| subroutine, public | hist_reg (itemid, zinterp, item, desc, unit, ndim, xdim, ydim, zdim) | 
| Register/Append variable to history file.  More... | |
| subroutine, public | hist_query (itemid, answer) | 
| Check time to putting data.  More... | |
| subroutine | hist_put_0d (itemid, var) | 
| Put 1D data to history buffer.  More... | |
| subroutine | hist_put_1d (itemid, var) | 
| Put 1D data to history buffer.  More... | |
| subroutine | hist_put_2d (itemid, var, nohalo) | 
| Put 2D data to history buffer.  More... | |
| subroutine | hist_put_3d (itemid, var, zinterp, xdim, ydim, zdim, nohalo) | 
| Put 3D data to history buffer.  More... | |
| subroutine | hist_in_0d (var, item, desc, unit) | 
| Wrapper routine of HIST_reg+HIST_put 0D.  More... | |
| subroutine | hist_get_2d (var, basename, varname, step, allow_missing) | 
| Get 2D data from file.  More... | |
| subroutine | hist_get_3d (var, basename, varname, step, allow_missing) | 
| Get 3D data from file.  More... | |
| subroutine, public | hist_write | 
| Flush history buffer to file.  More... | |
module HISTORY
| subroutine, public scale_history::hist_setup | ( | ) | 
Setup.
Definition at line 84 of file scale_history.F90.
References scale_stdio::h_institute, scale_stdio::h_source, gtool_history::historyinit(), scale_grid_index::ie, scale_grid_index::ieb, scale_grid_index::imax, scale_grid_index::imaxb, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_lnml, scale_grid_index::is, scale_grid_index::isb, scale_grid_index::je, scale_grid_index::jeb, scale_grid_index::jmax, scale_grid_index::jmaxb, scale_grid_index::js, scale_grid_index::jsb, scale_grid_index::kmax, scale_rm_process::prc_2drank, scale_process::prc_masterrank, scale_process::prc_mpistop(), scale_process::prc_myrank, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), scale_time::time_dtsec, scale_time::time_nowdate, scale_time::time_nowms, scale_time::time_offset_year, and scale_time::time_startdaysec.
Referenced by mod_rm_driver::scalerm(), and mod_rm_prep::scalerm_prep().


| subroutine, public scale_history::hist_switch | ( | logical, intent(in) | switch | ) | 
set switch
Definition at line 187 of file scale_history.F90.
References scale_const::const_d2r, scale_grid::grid_cbfx, scale_grid::grid_cbfxg, scale_grid::grid_cbfy, scale_grid::grid_cbfyg, scale_grid::grid_cbfz, scale_grid::grid_cdx, scale_grid::grid_cdy, scale_grid::grid_cdz, scale_grid::grid_cx, scale_grid::grid_cxg, scale_grid::grid_cy, scale_grid::grid_cyg, scale_grid::grid_cz, scale_grid::grid_fbfx, scale_grid::grid_fbfxg, scale_grid::grid_fbfy, scale_grid::grid_fbfyg, scale_grid::grid_fbfz, scale_grid::grid_fdx, scale_grid::grid_fdy, scale_grid::grid_fdz, scale_grid::grid_fx, scale_grid::grid_fxg, scale_grid::grid_fy, scale_grid::grid_fyg, scale_grid::grid_fz, scale_land_grid::grid_lcdz, scale_land_grid::grid_lcz, scale_land_grid::grid_lfz, scale_urban_grid::grid_ucdz, scale_urban_grid::grid_ucz, scale_urban_grid::grid_ufz, scale_grid_index::ke, scale_grid_index::kmax, scale_grid_index::ks, scale_landuse::landuse_frac_land, scale_land_grid_index::lke, scale_land_grid_index::lks, scale_grid_real::real_cz, scale_grid_real::real_fz, scale_grid_real::real_lat, scale_grid_real::real_latx, scale_grid_real::real_latxy, scale_grid_real::real_laty, scale_grid_real::real_lon, scale_grid_real::real_lonx, scale_grid_real::real_lonxy, scale_grid_real::real_lony, scale_topography::topo_zsfc, scale_urban_grid_index::uke, and scale_urban_grid_index::uks.
| subroutine, public scale_history::hist_reg | ( | integer, intent(out) | itemid, | 
| logical, intent(out) | zinterp, | ||
| character(len=*), intent(in) | item, | ||
| character(len=*), intent(in) | desc, | ||
| character(len=*), intent(in) | unit, | ||
| integer, intent(in) | ndim, | ||
| character(len=*), intent(in), optional | xdim, | ||
| character(len=*), intent(in), optional | ydim, | ||
| character(len=*), intent(in), optional | zdim | ||
| ) | 
Register/Append variable to history file.
| [out] | itemid | index number of the item | 
| [out] | zinterp | z* -> z flag of the item | 
| [in] | item | name of the item | 
| [in] | desc | description of the item | 
| [in] | unit | unit of the item | 
| [in] | ndim | dimension of the item | 
Definition at line 496 of file scale_history.F90.
References gtool_history::historyaddvariable(), scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_time::time_nowstep.
Referenced by scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_setup(), mod_atmos_vars::atmos_vars_setup(), and hist_in_0d().


| subroutine, public scale_history::hist_query | ( | integer, intent(in) | itemid, | 
| logical, intent(out) | answer | ||
| ) | 
Check time to putting data.
| [in] | itemid | index number of the item | 
| [out] | answer | is it time to store? | 
Definition at line 604 of file scale_history.F90.
References gtool_history::historyquery(), scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_time::time_nowstep.
Referenced by scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08(), and hist_in_0d().


| subroutine scale_history::hist_put_0d | ( | integer, intent(in) | itemid, | 
| real(rp), intent(in) | var | ||
| ) | 
Put 1D data to history buffer.
| [in] | itemid | index number of the item | 
| [in] | var | value | 
Definition at line 635 of file scale_history.F90.
References scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_time::time_nowstep.

| subroutine scale_history::hist_put_1d | ( | integer, intent(in) | itemid, | 
| real(rp), dimension(:), intent(in) | var | ||
| ) | 
Put 1D data to history buffer.
| [in] | itemid | index number of the item | 
| [in] | var | value | 
Definition at line 664 of file scale_history.F90.
References scale_grid_index::kmax, scale_grid_index::ks, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_time::time_nowstep.

| subroutine scale_history::hist_put_2d | ( | integer, intent(in) | itemid, | 
| real(rp), dimension(:,:), intent(in) | var, | ||
| logical, intent(in), optional | nohalo | ||
| ) | 
Put 2D data to history buffer.
| [in] | itemid | index number of the item | 
| [in] | var | value | 
Definition at line 700 of file scale_history.F90.
References scale_grid_index::ie, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), gtool_file::rmiss, and scale_time::time_nowstep.

| subroutine scale_history::hist_put_3d | ( | integer, intent(in) | itemid, | 
| real(rp), dimension(:,:,:), intent(in) | var, | ||
| logical, intent(in) | zinterp, | ||
| character(len=*), intent(in), optional | xdim, | ||
| character(len=*), intent(in), optional | ydim, | ||
| character(len=*), intent(in), optional | zdim, | ||
| logical, intent(in), optional | nohalo | ||
| ) | 
Put 3D data to history buffer.
| [in] | itemid | index number of the item | 
| [in] | var | value | 
| [in] | zinterp | vertical interpolation? | 
Definition at line 777 of file scale_history.F90.
References scale_grid_index::ia, scale_grid_index::ie, scale_interpolation::interp_available, scale_interpolation::interp_vertical_xi2z(), scale_grid_index::is, scale_grid_index::ja, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ka, scale_grid_index::kmax, scale_grid_index::ks, scale_land_grid_index::lke, scale_land_grid_index::lkmax, scale_land_grid_index::lks, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), gtool_file::rmiss, scale_time::time_nowstep, scale_urban_grid_index::uke, scale_urban_grid_index::ukmax, and scale_urban_grid_index::uks.

| subroutine scale_history::hist_in_0d | ( | real(rp), intent(in) | var, | 
| character(len=*), intent(in) | item, | ||
| character(len=*), intent(in) | desc, | ||
| character(len=*), intent(in) | unit | ||
| ) | 
Wrapper routine of HIST_reg+HIST_put 0D.
Definition at line 979 of file scale_history.F90.
References hist_query(), hist_reg(), scale_prof::prof_rapend(), and scale_prof::prof_rapstart().

| subroutine scale_history::hist_get_2d | ( | real(rp), dimension(:,:), intent(out) | var, | 
| character(len=*), intent(in) | basename, | ||
| character(len=*), intent(in) | varname, | ||
| integer, intent(in) | step, | ||
| logical, intent(in), optional | allow_missing | ||
| ) | 
Get 2D data from file.
| [out] | var | value | 
| [in] | basename | basename of the file | 
| [in] | varname | name of the variable | 
| [in] | step | step number | 
Definition at line 1202 of file scale_history.F90.
References scale_prof::prof_rapend(), and scale_prof::prof_rapstart().

| subroutine scale_history::hist_get_3d | ( | real(rp), dimension(:,:,:), intent(out) | var, | 
| character(len=*), intent(in) | basename, | ||
| character(len=*), intent(in) | varname, | ||
| integer, intent(in) | step, | ||
| logical, intent(in), optional | allow_missing | ||
| ) | 
Get 3D data from file.
| [out] | var | value | 
| [in] | basename | basename of the file | 
| [in] | varname | name of the variable | 
| [in] | step | step number | 
Definition at line 1240 of file scale_history.F90.
References scale_prof::prof_rapend(), and scale_prof::prof_rapstart().

| subroutine, public scale_history::hist_write | ( | ) | 
Flush history buffer to file.
Definition at line 1273 of file scale_history.F90.
References gtool_history::historywriteall(), scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_time::time_nowstep.
Referenced by mod_rm_driver::scalerm().


 1.8.13
 1.8.13