mHM
The mesoscale Hydrological Model
|
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. | |
read mRM config
This module contains all mRM subroutines related to reading the mRM configuration either from file or copy from mHM.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. 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.
[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 |
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().
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
[in] | integer(i4) :: processCase | it is the default case, should be one |
[in] | character(*) :: file_namelist_param | file name containing parameter namelist |
[in] | integer(i4) :: unamelist_param | file name id containing parameter namelist |
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().