SCALE-RM
Functions/Subroutines | Variables
mod_ocean_admin Module Reference

module Ocean admin More...

Functions/Subroutines

subroutine, public ocean_admin_setup
 Setup. More...
 

Variables

logical, public ocean_do = .true.
 
character(len=h_short), public ocean_dyn_type = 'NONE'
 
character(len=h_short), public ocean_sfc_type = 'FIXED-TEMP'
 
character(len=h_short), public ocean_ice_type = 'NONE'
 
character(len=h_short), public ocean_alb_type = 'NAKAJIMA00'
 
character(len=h_short), public ocean_rgn_type = 'MOON07'
 

Detailed Description

module Ocean admin

Description
Ocean submodel administrator
Author
Team SCALE
NAMELIST
  • PARAM_OCEAN
    nametypedefault valuecomment
    OCEAN_DYN_TYPE character(len=H_SHORT) 'NONE'
    OCEAN_ICE_TYPE character(len=H_SHORT) 'NONE'
    OCEAN_SFC_TYPE character(len=H_SHORT) 'FIXED-TEMP'
    OCEAN_ALB_TYPE character(len=H_SHORT) 'NAKAJIMA00'
    OCEAN_RGN_TYPE character(len=H_SHORT) 'MOON07'

History Output
No history output

Function/Subroutine Documentation

◆ ocean_admin_setup()

subroutine, public mod_ocean_admin::ocean_admin_setup

Setup.

Definition at line 62 of file mod_ocean_admin.F90.

62  use scale_prc, only: &
63  prc_abort
64  implicit none
65 
66  namelist / param_ocean / &
67  ocean_dyn_type, &
68  ocean_ice_type, &
69  ocean_sfc_type, &
70  ocean_alb_type, &
71  ocean_rgn_type
72 
73  integer :: ierr
74  !---------------------------------------------------------------------------
75 
76  log_newline
77  log_info("OCEAN_ADMIN_setup",*) 'Setup'
78 
79  !--- read namelist
80  rewind(io_fid_conf)
81  read(io_fid_conf,nml=param_ocean,iostat=ierr)
82  if( ierr < 0 ) then !--- missing
83  log_info("OCEAN_ADMIN_setup",*) 'Not found namelist. Default used.'
84  elseif( ierr > 0 ) then !--- fatal error
85  log_error("OCEAN_ADMIN_setup",*) 'Not appropriate names in namelist PARAM_OCEAN. Check!'
86  call prc_abort
87  endif
88  log_nml(param_ocean)
89 
90  !-----< module component check >-----
91 
92  log_newline
93  log_info("OCEAN_ADMIN_setup",*) 'Ocean model components '
94 
95  if ( ocean_dyn_type /= 'OFF' .AND. ocean_dyn_type /= 'NONE' ) then
96  log_info_cont(*) 'Ocean model : ON, ', trim(ocean_dyn_type)
97  ocean_do = .true.
98  else
99  log_info_cont(*) 'Ocean model : OFF'
100  ocean_do = .false.
101  endif
102 
103  if ( ocean_do ) then
104 
105  log_info_cont(*) '+ Ocean surface model : ', trim(ocean_sfc_type)
106  log_info_cont(*) '+ Ocean ice model : ', trim(ocean_ice_type)
107  log_info_cont(*) '+ Ocean albedo model : ', trim(ocean_alb_type)
108  log_info_cont(*) '+ Ocean roughness model : ', trim(ocean_rgn_type)
109 
110  end if
111 
112  return

References scale_io::io_fid_conf, ocean_alb_type, ocean_do, ocean_dyn_type, ocean_ice_type, ocean_rgn_type, ocean_sfc_type, and scale_prc::prc_abort().

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

◆ ocean_do

logical, public mod_ocean_admin::ocean_do = .true.

◆ ocean_dyn_type

character(len=h_short), public mod_ocean_admin::ocean_dyn_type = 'NONE'

Definition at line 34 of file mod_ocean_admin.F90.

34  character(len=H_SHORT), public :: OCEAN_DYN_TYPE = 'NONE'

Referenced by ocean_admin_setup(), mod_ocean_driver::ocean_driver_setup(), and mod_ocean_driver::ocean_driver_update().

◆ ocean_sfc_type

character(len=h_short), public mod_ocean_admin::ocean_sfc_type = 'FIXED-TEMP'

Definition at line 39 of file mod_ocean_admin.F90.

39  character(len=H_SHORT), public :: OCEAN_SFC_TYPE = 'FIXED-TEMP'

Referenced by ocean_admin_setup(), mod_ocean_driver::ocean_driver_calc_tendency(), and mod_ocean_driver::ocean_driver_setup().

◆ ocean_ice_type

character(len=h_short), public mod_ocean_admin::ocean_ice_type = 'NONE'

◆ ocean_alb_type

character(len=h_short), public mod_ocean_admin::ocean_alb_type = 'NAKAJIMA00'

Definition at line 43 of file mod_ocean_admin.F90.

43  character(len=H_SHORT), public :: OCEAN_ALB_TYPE = 'NAKAJIMA00'

Referenced by ocean_admin_setup(), mod_ocean_driver::ocean_driver_calc_tendency(), and mod_ocean_driver::ocean_driver_setup().

◆ ocean_rgn_type

character(len=h_short), public mod_ocean_admin::ocean_rgn_type = 'MOON07'

Definition at line 45 of file mod_ocean_admin.F90.

45  character(len=H_SHORT), public :: OCEAN_RGN_TYPE = 'MOON07'

Referenced by ocean_admin_setup(), mod_ocean_driver::ocean_driver_calc_tendency(), and mod_ocean_driver::ocean_driver_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_ocean_admin::ocean_do
logical, public ocean_do
Definition: mod_ocean_admin.F90:32