5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_mhm_cli.f90 File Reference

Module to parse command line arguments of mHM. More...

Go to the source code of this file.

Modules

module  mo_mhm_cli
 Module to parse command line arguments of mHM.
 

Functions/Subroutines

subroutine, public mo_mhm_cli::parse_command_line ()
 parse the given command line arguments.
 
subroutine, public mo_mhm_cli::set_verbosity_level (level)
 Set the verbosity level of mHM.
 

Detailed Description

Module to parse command line arguments of mHM.

Version
0.1
Authors
Sebastian Mueller
Date
Oct 2021

A simple parser for command line arguments for mHM. You can pass the path to mhm.nml, mhm_parameters.nml, mhm_outputs.nml and mrm_outputs.nml

You can also pass the CWD as plain last argument and get a help or version text.

The mesoscale hydrological model - mHM
Usage: mhm [options] <cwd>
Options:
<cwd>
Description: The desired working directory (optional).
--help / -h
Description: Print this help message.
--version / -V
Description: Print the version of the program.
--nml / -n <path>
Description: The mHM configuration namelist.
Default: mhm.nml
--parameter / -p <path>
Description: The mHM parameter namelist.
Default: mhm_parameter.nml
--mhm_output / -o <path>
Description: The mHM output namelist.
Default: mhm_output.nml
--mrm_output / -r <path>
Description: The mRM output namelist.
Default: mrm_output.nml
--quiet / -q
Description: Decrease verbosity level.
Can be repeated.

Definition in file mo_mhm_cli.f90.