5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_mrm_read_config Module Reference

read mRM config More...

Functions/Subroutines

subroutine, public mrm_read_config (file_namelist, unamelist, file_namelist_param, unamelist_param, do_message)
 Read the general config of mRM.
 
subroutine read_mrm_routing_params (processcase, file_namelist_param, unamelist_param)
 TODO: add description.
 

Detailed Description

read mRM config

This module contains all mRM subroutines related to reading the mRM configuration either from file or copy from mHM.

Authors
Stephan Thober
Date
Aug 2015

Function/Subroutine Documentation

◆ mrm_read_config()

subroutine, public mo_mrm_read_config::mrm_read_config ( character(*), intent(in)  file_namelist,
integer, intent(in)  unamelist,
character(*), intent(in)  file_namelist_param,
integer, intent(in)  unamelist_param,
logical, intent(in)  do_message 
)

Read the general config of mRM.

Depending on the variable mrm_coupling_config, the mRM config is either read from mrm.nml and parameters from mrm_parameter.nml or copied from mHM.

Parameters
[in]character(*) :: file_namelist, file_namelist_param
[in]integer :: unamelist, unamelist_param
[in]character(*) :: file_namelist, file_namelist_param
[in]integer :: unamelist, unamelist_param
[in]logical :: do_message- flag for writing mHM standard messages
Authors
Stephan Thober
Date
Aug 2015

Definition at line 52 of file mo_mrm_read_config.f90.

References mo_common_variables::alma_convention, mo_common_mhm_mrm_read_config::common_check_resolution(), mo_mrm_global_variables::dirbankfullrunoff, mo_mrm_global_variables::dirgauges, mo_mrm_global_variables::dirtotalrunoff, mo_mrm_global_variables::domain_mrm, mo_common_variables::domainmeta, mo_mrm_file::file_defoutput, mo_mrm_global_variables::filenametotalrunoff, mo_mrm_global_variables::gauge, mo_mrm_global_variables::gw_coupling, mo_mrm_global_variables::inflowgauge, mo_mrm_global_variables::is_start, mo_common_constants::maxnodomains, mo_mrm_constants::maxnogauges, mo_mrm_global_variables::ngaugeslocal, mo_mrm_global_variables::ngaugestotal, mo_mrm_global_variables::ninflowgaugestotal, mo_common_constants::nodata_i4, mo_mrm_global_variables::output_deflate_level_mrm, mo_mrm_global_variables::output_double_precision_mrm, mo_mrm_global_variables::output_time_reference_mrm, mo_mrm_global_variables::outputflxstate_mrm, mo_common_variables::processmatrix, read_mrm_routing_params(), mo_mrm_global_variables::readlatlon, mo_mrm_global_variables::timestep_model_outputs_mrm, mo_mrm_file::udefoutput, and mo_mrm_global_variables::varnametotalrunoff.

Referenced by mo_mrm_init::mrm_configuration().

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

◆ read_mrm_routing_params()

subroutine mo_mrm_read_config::read_mrm_routing_params ( integer(i4), intent(in)  processcase,
character(*), intent(in)  file_namelist_param,
integer(i4), intent(in)  unamelist_param 
)

TODO: add description.

TODO: add description

Parameters
[in]integer(i4) :: processCaseit is the default case, should be one
[in]character(*) :: file_namelist_paramfile name containing parameter namelist
[in]integer(i4) :: unamelist_paramfile name id containing parameter namelist
Authors
Robert Schweppe
Date
Jun 2018

Definition at line 414 of file mo_mrm_read_config.f90.

References mo_common_variables::global_parameters, mo_common_variables::global_parameters_name, mo_common_functions::in_bound(), mo_common_constants::ncolpars, and mo_common_variables::processmatrix.

Referenced by mrm_read_config().

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