Skip to content

Commit

Permalink
update channel area cybercastor shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMWhitehead committed Jan 31, 2024
1 parent ac85ae8 commit ae6b981
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions scripts/automation/FargateAllTools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,18 @@ try() {
##########################################################################################

channel $HUC \
$RSCONTEXT_DIR/hydrology/NHDFlowline.shp \
$RSCONTEXT_DIR/hydrology/hydro_derivatives.gpkg/network_intersected \
$CHANNELAREA_DIR \
--flowareas $RSCONTEXT_DIR/hydrology/NHDArea.shp \
--waterbodies $RSCONTEXT_DIR/hydrology/NHDWaterbody.shp \
--flowareas $RSCONTEXT_DIR/hydrology/hydro_derivatives.gpkg/NHDAreaSplit \
--waterbodies $RSCONTEXT_DIR/hydrology/hydro_derivatives.gpkg/NHDWaterbodySplit \
--bankfull_function "0.177 * (a ** 0.397) * (p ** 0.453)" \
--bankfull_function_params "a=TotDASqKm" \
--reach_code_field FCode \
--flowline_reach_codes "33400,46000,46003,46006,46007", \
--flowarea_reach_codes "53700,46100,48400,31800,34300,34305,34306,4600,46003,46006,46007", \
--waterbody_reach_codes "49300,3900,39001,39004,39005,39006,39009,39010,39011,39012,43600,43601,43603,43604,43605,43606,43607,43608,43609,43610,43611,43612,43613,43614,43615,43618,43619,43621,43623,43624,43625,43626,46600,46601,46602", \
--prism_data $RSCONTEXT_DIR/climate/precipitation.tif \
--huc8boundary $RSCONTEXT_DIR/hydrology/WBDHU8.shp \
--huc8boundary $RSCONTEXT_DIR/hydrology/nhdplushr.gpkg/WBDHU8 \
--meta "Runner=Cybercastor" \
--verbose

Expand Down
4 changes: 2 additions & 2 deletions scripts/automation/FargateChannel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ rscli download $RS_CONTEXT_DIR --id $RSCONTEXT_ID \
try() {

channel $HUC \
$RS_CONTEXT_DIR/hydrology/nhdplushr.gpkg/NHDFlowline \
$RS_CONTEXT_DIR/hydrology/hydro_derivatives.gpkg/network_intersected \
$CHANNELAREA_DIR \
--flowareas $RS_CONTEXT_DIR/hydrology/hydro_derivatives.gpkg/NHDAreaSplit \
--waterbodies $RS_CONTEXT_DIR/hydrology/nhdplushr.gpkg/NHDWaterbody \
--waterbodies $RS_CONTEXT_DIR/hydrology/hydro_derivatives.gpkg/NHDWaterbodySplit \
--bankfull_function "0.177 * (a ** 0.397) * (p ** 0.453)" \
--bankfull_function_params "a=TotDASqKm" \
--reach_code_field FCode \
Expand Down
4 changes: 2 additions & 2 deletions scripts/automation/FargateRSContextChannelAreaTauDEM.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ rm -fr $RSCONTEXT_SCRATCH
##########################################################################################

channel $HUC \
$RSCONTEXT_DIR/hydrology/nhdplushr.gpkg/NHDFlowline \
$RSCONTEXT_DIR/hydrology/hydro_derivatives.gpkg/network_intersected \
$CHANNELAREA_DIR \
--flowareas $RSCONTEXT_DIR/hydrology/hydro_derivatives.gpkg/NHDAreaSplit \
--waterbodies $RSCONTEXT_DIR/hydrology/nhdplushr.gpkg/NHDWaterbody \
--waterbodies $RSCONTEXT_DIR/hydrology/hydro_derivatives.gpkg/NHDWaterbodySplit \
--bankfull_function "0.177 * (a ** 0.397) * (p ** 0.453)" \
--bankfull_function_params "a=TotDASqKm" \
--reach_code_field FCode \
Expand Down

0 comments on commit ae6b981

Please sign in to comment.