Inherits object.
Public Member Functions | |
def | __init__ (self) |
Static Public Member Functions | |
def | getsoiltexture_usda (clay, silt, sand) |
def | lookup_soil_parameters (soil_lookup_file) |
def | initial_soil_moisture (acc_file, slope_file, out_file) |
def | parameters_extraction (cfg) |
Soil parameters related utility functions.
def seims.preprocess.sp_soil.SoilUtilClass.__init__ | ( | self | ) |
Empty
|
static |
The soil texture code system is from WetSpa Extension and SWAT model which is based on the soil texture triangle developed by USDA. The unit is percentage, silt + sand + clay [+ Rock] = 100. The corresponding default soil parameters (e.g. Ks, porosity) are stored in `seims/database/SoilLookup.csv`. Args: clay: clay content percentage silt: silt content percentage sand: sand content percentage Returns: [Soil texture ID, Hydrological soil group, USLE K factor]
|
static |
Initialize soil moisture fraction of field capacity, based on TWI
|
static |
Reclassify soil parameters by lookup table. Returns: recls_dict: dict, e.g., {'OM': '201:1.3|1.2|0.6,202:1.4|1.1|0.8'}
|
static |
Soil spatial parameters extraction.