Infer soil properties from SSURGO and terrain data using SOLIM framework. More...
Functions | |
def | inferSoilPropertiesForSSURGOAndTerrainData |
Infer soil properties from SSURGO and terrain data using SOLIM framework. | |
Variables | |
list | ATTRIBUTES ['avgSand','avgSilt','avgClay','avgKsat','avgPorosity'] |
string | ATTRIBUTE_SEP ',' |
string | FILE_EXT 'tif' |
Infer soil properties from SSURGO and terrain data using SOLIM framework.
This software is provided free of charge under the New BSD License. Please see the following license information:
Copyright (c) 2013, University of North Carolina at Chapel Hill All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
def ecohydroworkflowlib.solim.inference.inferSoilPropertiesForSSURGOAndTerrainData | ( | config, | |
outputDir, | |||
shpFilepath, | |||
demFilepath, | |||
featureAttrList = ATTRIBUTES |
|||
) |
Infer soil properties from SSURGO and terrain data using SOLIM framework.
config | ConfigParser containing the section 'SOLIM' and option 'PATH_OF_SOLIM' |
outputDir | String representing the absolute/relative path of the directory into which shapefile should be written |
shpFilepath | String representing the absolute path of the shapefile containing SSURGO features |
featureAttrList | List containing the SSURGO attributes for which soil property inference is to be performed |
demFilepath | String representing the absolute path of the DEM terrain data |
@exception IOError(errno.EACCES) if SOLIM binary is not executable @exception Exception if SOLIM command fails
string ecohydroworkflowlib.solim.inference.ATTRIBUTE_SEP ',' |
list ecohydroworkflowlib.solim.inference.ATTRIBUTES ['avgSand','avgSilt','avgClay','avgKsat','avgPorosity'] |
string ecohydroworkflowlib.solim.inference.FILE_EXT 'tif' |