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.
- Copyright
- Copyright 2005-2024, the mHM Developers, Luis Samaniego, Sabine Attinger: All rights reserved. mHM is released under the LGPLv3+ license
The UFZ(CHS) mesoscale hydrologic model mHM is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the free Software Foundation either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You received a copy of the GNU Lesser General Public License along with the UFZ CHS mesoscale hydrologic model mHM. It can be found in the files COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/.
Definition in file mo_mhm_cli.f90.