Commit Graph

4 Commits (35a80f0a5f2111e31c726bd75da3518318cb1b23)

Author SHA1 Message Date
Zhang Yunjun b0cecb64cb createWaterMask: add --fill option
+ add --fill option to be able to change the fill value for the missing water body data, because sometimes it's land sometimes it's water.
2020-03-23 17:07:48 -07:00
Zhang Yunjun ad51158a44 stripmapStack: add function createWaterMask to config_master_*
Stack.py: add function call to create water mask file in radar coordinates in the step one "run_1_master_*"

createWaterMask.py: fill pixels without DEM data with value of -1, same as water body
2020-01-03 16:45:59 -08:00
Zhang Yunjun b2f3204595 stripmapStack/createWaterMask: add --dem_file opt
add -d / --dem_file option to input DEM file as an alternative for --bbox option.

add dem2bbox() to grab bbox from existing DEM file

adjust download_waterMask() that: if DEM file is input, put downloaded water body mask file to the same directory as the DEM file.

adjust the default water mask file in radar coordinates that:
1. in the same directory as the input lat/lon files
2. named as "waterMask.rdr" instead of "swbdLat_*.wbd.rdr"

add example docstring and update parser description.
2020-01-03 16:45:59 -08:00
Eric Gurrola 9f9a2b0805 Adding all files 2019-01-16 11:40:08 -08:00