5.13.3-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_soil_database Module Reference

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.
 

Detailed Description

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.

Authors
Juliane Mai
Date
Dec 2012


Function/Subroutine Documentation

◆ generate_soil_database()

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.

Authors
Juliane Mai
Date
Dec 2012

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().

Here is the caller graph for this function:

◆ read_soil_lut()

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.

Parameters
[in]character(len = *) :: filenamefilename of the soil LUT
Authors
Juliane Mai
Date
Dec 2012

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().

Here is the caller graph for this function: