SCALE-RM
Functions/Subroutines | Variables
mod_land_admin Module Reference

module Land admin More...

Functions/Subroutines

subroutine, public land_admin_setup
 Setup. More...
 

Variables

character(len=h_short), public land_dyn_type = 'NONE'
 
character(len=h_short), public land_sfc_type = 'SKIN'
 
character(len=h_short), public snow_type = 'NONE'
 
logical, public land_do
 
logical, public snow_sw
 

Detailed Description

module Land admin

Description
Land submodel administrator
Author
Team SCALE
NAMELIST
  • PARAM_LAND
    nametypedefault valuecomment
    LAND_DYN_TYPE character(len=H_SHORT) 'NONE'
    LAND_SFC_TYPE character(len=H_SHORT) 'SKIN'
    SNOW_TYPE character(len=H_SHORT) 'NONE'

History Output
No history output

Function/Subroutine Documentation

◆ land_admin_setup()

subroutine, public mod_land_admin::land_admin_setup

Setup.

Definition at line 57 of file mod_land_admin.F90.

57  use scale_prc, only: &
58  prc_abort
59  implicit none
60 
61  namelist / param_land / &
62  land_dyn_type, &
63  land_sfc_type, &
64  snow_type
65 
66  integer :: ierr
67  !---------------------------------------------------------------------------
68 
69  log_newline
70  log_info("LAND_ADMIN_setup",*) 'Setup'
71 
72  !--- read namelist
73  rewind(io_fid_conf)
74  read(io_fid_conf,nml=param_land,iostat=ierr)
75  if( ierr < 0 ) then !--- missing
76  log_info("LAND_ADMIN_setup",*) 'Not found namelist. Default used.'
77  elseif( ierr > 0 ) then !--- fatal error
78  log_error("LAND_ADMIN_setup",*) 'Not appropriate names in namelist PARAM_LAND. Check!'
79  call prc_abort
80  endif
81  log_nml(param_land)
82 
83  !-----< module component check >-----
84 
85  log_newline
86  log_info("LAND_ADMIN_setup",*) 'Land model components '
87 
88  if ( land_dyn_type /= 'OFF' .AND. land_dyn_type /= 'NONE' ) then
89  log_info_cont(*) 'Land model : ON, ', trim(land_dyn_type)
90  land_do = .true.
91  else
92  log_info_cont(*) 'Land model : OFF'
93  land_do = .false.
94  endif
95 
96  if ( land_do ) then
97 
98  if ( snow_type /= 'OFF' .AND. snow_type /= 'NONE' ) then
99  log_info_cont(*) '+ Snow physics : ON, ', trim(snow_type)
100  snow_sw = .true.
101  else
102  log_info_cont(*) '+ Snow physics : OFF'
103  snow_sw = .false.
104  endif
105 
106  log_info_cont(*) '+ Land surface model : ', trim(land_sfc_type)
107 
108  end if
109 
110  return

References scale_io::io_fid_conf, land_do, land_dyn_type, land_sfc_type, scale_prc::prc_abort(), snow_sw, and snow_type.

Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ land_dyn_type

character(len=h_short), public mod_land_admin::land_dyn_type = 'NONE'

Definition at line 32 of file mod_land_admin.F90.

32  character(len=H_SHORT), public :: LAND_DYN_TYPE = 'NONE'

Referenced by land_admin_setup(), mod_land_driver::land_driver_setup(), and mod_land_driver::land_driver_update().

◆ land_sfc_type

character(len=h_short), public mod_land_admin::land_sfc_type = 'SKIN'

Definition at line 36 of file mod_land_admin.F90.

36  character(len=H_SHORT), public :: LAND_SFC_TYPE = 'SKIN'

Referenced by land_admin_setup(), mod_land_driver::land_driver_calc_tendency(), and mod_land_driver::land_driver_setup().

◆ snow_type

character(len=h_short), public mod_land_admin::snow_type = 'NONE'

Definition at line 38 of file mod_land_admin.F90.

38  character(len=H_SHORT), public :: SNOW_TYPE = 'NONE'

Referenced by land_admin_setup(), mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_setup(), and mod_land_vars::land_vars_setup().

◆ land_do

logical, public mod_land_admin::land_do

◆ snow_sw

logical, public mod_land_admin::snow_sw

Definition at line 42 of file mod_land_admin.F90.

42  logical, public :: SNOW_sw

Referenced by land_admin_setup().

scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:342
scale_prc
module PROCESS
Definition: scale_prc.F90:11
mod_land_admin::land_do
logical, public land_do
Definition: mod_land_admin.F90:41