mHM
The mesoscale Hydrological Model
|
Input checking routines. More...
Functions/Subroutines | |
subroutine, public | check_dir (path, text, raise, tab, text_length) |
Check if a given directory exists. | |
Input checking routines.
This module provides sanity checks for the input data.
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_check::check_dir | ( | character(len=*), intent(in) | path, |
character(len=*), intent(in), optional | text, | ||
logical, intent(in), optional | raise, | ||
integer(i4), intent(in), optional | tab, | ||
integer(i4), intent(in), optional | text_length | ||
) |
Check if a given directory exists.
Check if a given directory exists and write out a message about it. Will also give potential information about prefixes given with the path
[in] | path | input path to check |
[in] | text | text to write out |
[in] | raise | whether to throw an error if folder does not exist |
[in] | tab | tab-depth |
[in] | text_length | maximal text length (for aligning) |
Definition at line 30 of file mo_check.f90.
Referenced by mo_mrm_riv_temp_class::config(), and mo_mhm_messages::domain_dir_check_message().