SCALE-RM
Functions/Subroutines | Variables
mod_da_admin Module Reference

module Data Assimilation admin More...

Functions/Subroutines

subroutine, public da_admin_setup
 Setup. More...
 

Variables

character(len=h_short), public da_type = 'OFF'
 
logical, public da_do
 

Detailed Description

module Data Assimilation admin

Description
Data Assimilation administrator
Author
Team SCALE
NAMELIST
  • PARAM_DA
    nametypedefault valuecomment
    DA_TYPE character(len=H_SHORT) 'OFF'

History Output
No history output

Function/Subroutine Documentation

◆ da_admin_setup()

subroutine, public mod_da_admin::da_admin_setup

Setup.

Definition at line 49 of file mod_da_admin.F90.

49  use scale_prc, only: &
50  prc_abort
51  implicit none
52 
53  namelist / param_da / &
54  da_type
55 
56  integer :: ierr
57  !---------------------------------------------------------------------------
58 
59  log_newline
60  log_info("DA_ADMIN_setup",*) 'Setup'
61 
62  !--- read namelist
63  rewind(io_fid_conf)
64  read(io_fid_conf,nml=param_da,iostat=ierr)
65  if( ierr < 0 ) then !--- missing
66  log_info("DA_ADMIN_setup",*) 'Not found namelist. Default used.'
67  elseif( ierr > 0 ) then !--- fatal error
68  log_error("DA_ADMIN_setup",*) 'Not appropriate names in namelist PARAM_DA. Check!'
69  call prc_abort
70  endif
71  log_nml(param_da)
72 
73  !-----< module component check >-----
74 
75  log_newline
76  log_info("DA_ADMIN_setup",*) 'Data Assimilation components '
77 
78  if ( da_type /= 'OFF' ) then
79  log_info_cont(*) 'Data Assimilation: ON, ', trim(da_type)
80  da_do = .true.
81  else
82  log_info_cont(*) 'Data Assimilation: OFF'
83  da_do = .false.
84  endif
85 
86  return

References da_do, da_type, scale_io::io_fid_conf, and scale_prc::prc_abort().

Referenced by mod_rm_driver::rm_driver().

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

Variable Documentation

◆ da_type

character(len=h_short), public mod_da_admin::da_type = 'OFF'

Definition at line 32 of file mod_da_admin.F90.

32  character(len=H_SHORT), public :: DA_TYPE = 'OFF'

Referenced by da_admin_setup().

◆ da_do

logical, public mod_da_admin::da_do

Definition at line 34 of file mod_da_admin.F90.

34  logical, public :: DA_do ! do data assimilation?

Referenced by da_admin_setup(), mod_rm_driver::restart_read(), and mod_rm_driver::rm_driver().

scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:350
scale_prc
module PROCESS
Definition: scale_prc.F90:11