SCALE-RM
Functions/Subroutines | Variables
scale_time Module Reference

module TIME More...

Functions/Subroutines

subroutine, public time_gettimelabel (timelabel)
 generate time label More...
 

Variables

real(dp), public time_dtsec
 time interval of model [sec] More...
 
real(dp), public time_dtsec_atmos_dyn
 time interval of dynamics [sec] More...
 
integer, public time_nstep_atmos_dyn
 small step of dynamics More...
 
real(dp), public time_dtsec_atmos_phy_cp
 time interval of physics(cumulus ) [sec] More...
 
real(dp), public time_dtsec_atmos_phy_mp
 time interval of physics(microphysics) [sec] More...
 
real(dp), public time_dtsec_atmos_phy_rd
 time interval of physics(radiation ) [sec] More...
 
real(dp), public time_dtsec_atmos_phy_sf
 time interval of physics(surface flux) [sec] More...
 
real(dp), public time_dtsec_atmos_phy_tb
 time interval of physics(turbulence ) [sec] More...
 
real(dp), public time_dtsec_atmos_phy_ch
 time interval of physics(chemistry ) [sec] More...
 
real(dp), public time_dtsec_atmos_phy_ae
 time interval of physics(aerosol ) [sec] More...
 
real(dp), public time_dtsec_ocean
 time interval of ocean step [sec] More...
 
real(dp), public time_dtsec_land
 time interval of land step [sec] More...
 
real(dp), public time_dtsec_urban
 time interval of urban step [sec] More...
 
real(dp), public time_dtsec_wallclock_check
 time interval of wallclock terminator [sec] More...
 
integer, public time_dstep_atmos_dyn
 step interval of dynamics More...
 
integer, public time_dstep_atmos_phy_cp
 step interval of physics(cumulus ) More...
 
integer, public time_dstep_atmos_phy_mp
 step interval of physics(microphysics) More...
 
integer, public time_dstep_atmos_phy_rd
 step interval of physics(radiation ) More...
 
integer, public time_dstep_atmos_phy_sf
 step interval of physics(surface flux) More...
 
integer, public time_dstep_atmos_phy_tb
 step interval of physics(turbulence ) More...
 
integer, public time_dstep_atmos_phy_ch
 step interval of physics(chemistry ) More...
 
integer, public time_dstep_atmos_phy_ae
 step interval of physics(aerosol ) More...
 
integer, public time_dstep_ocean
 step interval of ocean step More...
 
integer, public time_dstep_land
 step interval of land step More...
 
integer, public time_dstep_urban
 step interval of urban step More...
 
integer, public time_dstep_wallclock_check
 step interval of wallclock terminator More...
 
integer, dimension(6), public time_nowdate
 current time [YYYY MM DD HH MM SS] More...
 
real(dp), public time_nowms
 subsecond part of current time [millisec] More...
 
integer, public time_nowday
 absolute day of current time [day] More...
 
real(dp), public time_nowsec
 subday part of current time [sec] More...
 
real(dp), public time_nowdaysec
 second of current time [sec] More...
 
integer, public time_nowstep
 current step [number] More...
 
integer, public time_nstep
 total steps [number] More...
 
integer, public time_offset_year
 time offset [year] More...
 
real(dp), public time_startdaysec
 second of start time [sec] More...
 

Detailed Description

module TIME

Description
general module for date/time
Author
Team SCALE
History
  • 2011-11-11 (H.Yashiro) [new]
  • 2013-01-29 (H.Yashiro) [mod] exclude calendar tools
  • 2014-05-02 (S.Adachi) [add] variables for urban

Function/Subroutine Documentation

◆ time_gettimelabel()

subroutine, public scale_time::time_gettimelabel ( character(len=*), intent(out)  timelabel)

generate time label

Definition at line 90 of file scale_time.F90.

References time_nowdate, and time_nowms.

Referenced by mod_atmos_dyn_vars::atmos_dyn_vars_restart_write(), mod_atmos_phy_ae_vars::atmos_phy_ae_vars_restart_write(), mod_atmos_phy_ch_vars::atmos_phy_ch_vars_restart_write(), mod_atmos_phy_cp_vars::atmos_phy_cp_vars_restart_write(), mod_atmos_phy_mp_vars::atmos_phy_mp_vars_restart_write(), mod_atmos_phy_rd_vars::atmos_phy_rd_vars_restart_write(), mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_write(), mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_write(), mod_atmos_vars::atmos_vars_restart_write(), mod_land_vars::land_vars_restart_write(), mod_ocean_vars::ocean_vars_restart_write(), and mod_urban_vars::urban_vars_restart_write().

90  implicit none
91 
92  character(len=*), intent(out) :: timelabel
93  !---------------------------------------------------------------------------
94 
95  ! YYYYMMDDhhmmss.sss
96  write(timelabel,'(I4.4,I2.2,I2.2,A1,I2.2,I2.2,I2.2,A1,I3.3)') &
97  time_nowdate(1:3), '-', time_nowdate(4:6), '.', int(time_nowms*1000.0_dp)
98 
99  return
Here is the caller graph for this function:

Variable Documentation

◆ time_dtsec

real(dp), public scale_time::time_dtsec

◆ time_dtsec_atmos_dyn

real(dp), public scale_time::time_dtsec_atmos_dyn

time interval of dynamics [sec]

Definition at line 38 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), mod_atmos_dyn_driver::atmos_dyn_driver(), mod_atmos_dyn_driver::atmos_dyn_driver_setup(), and mod_atmos_vars::atmos_vars_monitor().

38  real(DP), public :: time_dtsec_atmos_dyn

◆ time_nstep_atmos_dyn

integer, public scale_time::time_nstep_atmos_dyn

small step of dynamics

Definition at line 39 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup().

39  integer, public :: time_nstep_atmos_dyn

◆ time_dtsec_atmos_phy_cp

real(dp), public scale_time::time_dtsec_atmos_phy_cp

time interval of physics(cumulus ) [sec]

Definition at line 40 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup().

40  real(DP), public :: time_dtsec_atmos_phy_cp

◆ time_dtsec_atmos_phy_mp

real(dp), public scale_time::time_dtsec_atmos_phy_mp

◆ time_dtsec_atmos_phy_rd

real(dp), public scale_time::time_dtsec_atmos_phy_rd

time interval of physics(radiation ) [sec]

Definition at line 42 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), and mod_atmos_phy_rd_driver::atmos_phy_rd_driver().

42  real(DP), public :: time_dtsec_atmos_phy_rd

◆ time_dtsec_atmos_phy_sf

real(dp), public scale_time::time_dtsec_atmos_phy_sf

time interval of physics(surface flux) [sec]

Definition at line 43 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), and mod_atmos_phy_sf_driver::atmos_phy_sf_driver().

43  real(DP), public :: time_dtsec_atmos_phy_sf

◆ time_dtsec_atmos_phy_tb

real(dp), public scale_time::time_dtsec_atmos_phy_tb

time interval of physics(turbulence ) [sec]

Definition at line 44 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), and mod_atmos_phy_tb_driver::atmos_phy_tb_driver().

44  real(DP), public :: time_dtsec_atmos_phy_tb

◆ time_dtsec_atmos_phy_ch

real(dp), public scale_time::time_dtsec_atmos_phy_ch

time interval of physics(chemistry ) [sec]

Definition at line 45 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup().

45  real(DP), public :: time_dtsec_atmos_phy_ch

◆ time_dtsec_atmos_phy_ae

real(dp), public scale_time::time_dtsec_atmos_phy_ae

time interval of physics(aerosol ) [sec]

Definition at line 46 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), mod_atmos_phy_ae_driver::atmos_phy_ae_driver(), scale_atmos_phy_ae_kajino13::atmos_phy_ae_kajino13(), and scale_atmos_phy_ae_kajino13::atmos_phy_ae_kajino13_setup().

46  real(DP), public :: time_dtsec_atmos_phy_ae

◆ time_dtsec_ocean

real(dp), public scale_time::time_dtsec_ocean

time interval of ocean step [sec]

Definition at line 47 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), mod_ocean_driver::ocean_driver(), and mod_ocean_phy_driver::ocean_phy_driver().

47  real(DP), public :: time_dtsec_ocean

◆ time_dtsec_land

real(dp), public scale_time::time_dtsec_land

time interval of land step [sec]

Definition at line 48 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), mod_land_driver::land_driver(), and mod_land_phy_driver::land_phy_driver().

48  real(DP), public :: time_dtsec_land

◆ time_dtsec_urban

real(dp), public scale_time::time_dtsec_urban

time interval of urban step [sec]

Definition at line 49 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), mod_urban_driver::urban_driver(), and mod_urban_phy_driver::urban_phy_driver().

49  real(DP), public :: time_dtsec_urban

◆ time_dtsec_wallclock_check

real(dp), public scale_time::time_dtsec_wallclock_check

time interval of wallclock terminator [sec]

Definition at line 50 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup().

50  real(DP), public :: time_dtsec_wallclock_check

◆ time_dstep_atmos_dyn

integer, public scale_time::time_dstep_atmos_dyn

step interval of dynamics

Definition at line 52 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

52  integer, public :: time_dstep_atmos_dyn

◆ time_dstep_atmos_phy_cp

integer, public scale_time::time_dstep_atmos_phy_cp

step interval of physics(cumulus )

Definition at line 53 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

53  integer, public :: time_dstep_atmos_phy_cp

◆ time_dstep_atmos_phy_mp

integer, public scale_time::time_dstep_atmos_phy_mp

step interval of physics(microphysics)

Definition at line 54 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

54  integer, public :: time_dstep_atmos_phy_mp

◆ time_dstep_atmos_phy_rd

integer, public scale_time::time_dstep_atmos_phy_rd

step interval of physics(radiation )

Definition at line 55 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

55  integer, public :: time_dstep_atmos_phy_rd

◆ time_dstep_atmos_phy_sf

integer, public scale_time::time_dstep_atmos_phy_sf

step interval of physics(surface flux)

Definition at line 56 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

56  integer, public :: time_dstep_atmos_phy_sf

◆ time_dstep_atmos_phy_tb

integer, public scale_time::time_dstep_atmos_phy_tb

step interval of physics(turbulence )

Definition at line 57 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

57  integer, public :: time_dstep_atmos_phy_tb

◆ time_dstep_atmos_phy_ch

integer, public scale_time::time_dstep_atmos_phy_ch

step interval of physics(chemistry )

Definition at line 58 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

58  integer, public :: time_dstep_atmos_phy_ch

◆ time_dstep_atmos_phy_ae

integer, public scale_time::time_dstep_atmos_phy_ae

step interval of physics(aerosol )

Definition at line 59 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

59  integer, public :: time_dstep_atmos_phy_ae

◆ time_dstep_ocean

integer, public scale_time::time_dstep_ocean

step interval of ocean step

Definition at line 60 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

60  integer, public :: time_dstep_ocean

◆ time_dstep_land

integer, public scale_time::time_dstep_land

step interval of land step

Definition at line 61 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

61  integer, public :: time_dstep_land

◆ time_dstep_urban

integer, public scale_time::time_dstep_urban

step interval of urban step

Definition at line 62 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_checkstate(), and mod_admin_time::admin_time_setup().

62  integer, public :: time_dstep_urban

◆ time_dstep_wallclock_check

integer, public scale_time::time_dstep_wallclock_check

step interval of wallclock terminator

Definition at line 63 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_advance(), and mod_admin_time::admin_time_setup().

63  integer, public :: time_dstep_wallclock_check

◆ time_nowdate

integer, dimension(6), public scale_time::time_nowdate

◆ time_nowms

real(dp), public scale_time::time_nowms

◆ time_nowday

integer, public scale_time::time_nowday

absolute day of current time [day]

Definition at line 67 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_advance(), and mod_admin_time::admin_time_setup().

67  integer, public :: time_nowday

◆ time_nowsec

real(dp), public scale_time::time_nowsec

◆ time_nowdaysec

real(dp), public scale_time::time_nowdaysec

◆ time_nowstep

integer, public scale_time::time_nowstep

◆ time_nstep

integer, public scale_time::time_nstep

◆ time_offset_year

integer, public scale_time::time_offset_year

◆ time_startdaysec

real(dp), public scale_time::time_startdaysec

second of start time [sec]

Definition at line 74 of file scale_time.F90.

Referenced by mod_admin_time::admin_time_setup(), scale_atmos_phy_ae_kajino13::aerosol_zerochem(), scale_external_input::extin_setup(), and scale_history::hist_setup().

74  real(DP), public :: time_startdaysec