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

Input checking routines. More...

Functions/Subroutines

subroutine, public check_dir (path, text, raise, tab, text_length)
 Check if a given directory exists.
 

Detailed Description

Input checking routines.

This module provides sanity checks for the input data.

Authors
Sebastian Mueller
Date
Nov 2020

Function/Subroutine Documentation

◆ check_dir()

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

Authors
Sebastian Mueller
Date
Nov 2020
Parameters
[in]pathinput path to check
[in]texttext to write out
[in]raisewhether to throw an error if folder does not exist
[in]tabtab-depth
[in]text_lengthmaximal 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().

Here is the caller graph for this function: