Functions | |
def | connected_field_partition_wu2018 (cfg) |
def | run_field_partition (bin_dir, maskf, streamf, flowf, luf, demf, thresh, arcgis_code=True) |
def | read_fields_relationships (fieldtxt) |
def | generate_fields_json (landusef, fieldf, fieldtxt, jsonout) |
def | main () |
Construct information of hydrologically connected fields. Refers to: Wu, Hui, A-Xing Zhu, Junzhi Liu, Yongbo Liu, and Jingchao Jiang. 2018. "Best Management Practices Optimization at Watershed Scale: Incorporating Spatial Topology among Fields." Water Resources Management, 32(1):155-177, doi: 10.1007/s11269-017-1801-8. @author: Liangjun Zhu @changelog: - 18-11-06 lj - initial implementation. - 19-01-08 lj - integrated into the workflow of spatial delineation
def seims.preprocess.sd_connected_field.connected_field_partition_wu2018 | ( | cfg | ) |
Delineation of hydrologically connected fields.
def seims.preprocess.sd_connected_field.generate_fields_json | ( | landusef, | |
fieldf, | |||
fieldtxt, | |||
jsonout | |||
) |
Construct hydrologically connected fields units data in JSON file format.
def seims.preprocess.sd_connected_field.main | ( | ) |
TEST CODE
def seims.preprocess.sd_connected_field.read_fields_relationships | ( | fieldtxt | ) |
Read the up-downstream relationships of fields generated by `fieldpartition` program.
def seims.preprocess.sd_connected_field.run_field_partition | ( | bin_dir, | |
maskf, | |||
streamf, | |||
flowf, | |||
luf, | |||
demf, | |||
thresh, | |||
arcgis_code = True |
|||
) |
Run fieldpartition program.