Functions | |
def | fuzslppos_profiles (rdgfile, flowdirfile, streamfile, attr_dict, outattrtxt, shpfile) |
def | main () |
Extract fuzzy slope positions along flow path from ridge to valley. - 1. Read ridge sources, by default, ridge means there are no cells flow in. - 2. Trace down and extract the similarities of fuzzy slope positions. - 3. Construct the output ESRI Shapefile. @author : Liangjun Zhu @changelog: - 15-09-08 - lj - initial implementation. - 17-07-30 - lj - reorganize and incorporate with pygeoc.
def seims.preprocess.autofuzslppos.FuzSlpPosProfile.fuzslppos_profiles | ( | rdgfile, | |
flowdirfile, | |||
streamfile, | |||
attr_dict, | |||
outattrtxt, | |||
shpfile | |||
) |
Extract fuzzy slope positions and other attributes along flow path TODO: This function is not finished yet. Args: rdgfile: ridge source raster file. flowdirfile: used to trace downslope. streamfile: used to determining termination of each flow path. attr_dict: Topographic attributes desired to be extracted. outattrtxt: Topographic attributes associated with each profile. shpfile: results ESRI Shapefile.
def seims.preprocess.autofuzslppos.FuzSlpPosProfile.main | ( | ) |
TEST CODE