![]() |
mHM
The mesoscale Hydrological Model
|
Generating soil database from input file. More...
Functions/Subroutines | |
| subroutine, public | read_soil_lut (filename) |
| Reads the soil LUT file. | |
| subroutine, public | generate_soil_database |
| Generates soil database. | |
Generating soil database from input file.
This module provides the routines for generating the soil database for mHM from an ASCII input file. One routine read_soil_LUT reads a soil LookUpTable, performs some consistency checks and returns an initial soil database. The second routine generate_soil_database calculates based on the initial one the proper soil database.
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_soil_database::generate_soil_database |
Generates soil database.
Calculates the proper soil database using the initialized soil database from read_soil_LUT.
Definition at line 387 of file mo_soil_database.f90.
References mo_mpr_global_variables::horizondepth_mhm, mo_mpr_global_variables::iflag_soildb, mo_common_constants::nodata_dp, mo_common_constants::nodata_i4, mo_mpr_global_variables::nsoilhorizons_mhm, mo_mpr_global_variables::nsoiltypes, and mo_mpr_global_variables::soildb.
Referenced by mo_mpr_startup::mpr_initialize().
| subroutine, public mo_soil_database::read_soil_lut | ( | character(len = *), intent(in) | filename | ) |
Reads the soil LUT file.
Reads the soil LookUpTable file and checks for consistency.
| [in] | character(len = *) :: filename | filename of the soil LUT |
Definition at line 60 of file mo_soil_database.f90.
References mo_common_constants::eps_dp, mo_mpr_global_variables::horizondepth_mhm, mo_mpr_global_variables::iflag_soildb, mo_mpr_constants::nlcover_class, mo_common_constants::nodata_dp, mo_common_constants::nodata_i4, mo_mpr_global_variables::nsoilhorizons_mhm, mo_mpr_global_variables::nsoiltypes, mo_mpr_global_variables::soildb, mo_mpr_global_variables::tillagedepth, and mo_mpr_file::usoil_database.
Referenced by mo_read_wrapper::read_data().