Skip to content

Commit

Permalink
add rsc metrics to rsc_channel_tau shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMWhitehead authored and philipbaileynar committed Feb 2, 2024
1 parent 5b967b8 commit d122733
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/automation/FargateRSContext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ try() {
python3 -m rscontext.rs_context_metrics \
$RS_CONTEXT_DIR

if [[ $? != 0 ]]; then return 1; fi

echo "====================== Final Disk space usage ======================="
df -h

Expand Down
7 changes: 7 additions & 0 deletions scripts/automation/FargateRSContextChannelAreaTauDEM.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ rscontext $HUC \
if [[ $? != 0 ]]; then return 1; fi
echo "<<RS_CONTEXT COMPLETE>>"

cd /usr/local/src/riverscapes-tools/packages/rscontext
python3 -m rscontext.rs_context_metrics \
$RS_CONTEXT_DIR

if [[ $? != 0 ]]; then return 1; fi
echo "<<RS_CONTEXT METRICS COMPLETE>>"

# Upload the HUC into the warehouse
cd $RSCONTEXT_DIR
# If this is a user upload then we need to use the user's id
Expand Down

0 comments on commit d122733

Please sign in to comment.