-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1pt] PR: Incorporate CatFIM flows into Sierra Test and add AHPS benchmark preprocessing scripts. #365
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…of ngvd 1929 to be a valid option
…values, add script to download usgs datasets, update .env file
…chmark grids directory is not saved first
…al flows to be included in sierra test
…vidual plots in the same directory instead of nested in subdirectories
The preprocessing scripts were successfully run on local workstations at the NWC. Ryan Spies reviewed the original preprocessing scripts in January. This version of the preprocessing scripts were altered to account for WRDS updates and to update the analysis extent to have holes filled. |
BrianAvant
previously approved these changes
Apr 27, 2021
@nickchadwick-noaa @BradfordBates-NOAA this is ready to be merged in with dev. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses Tickets #341, #361, #357
Additions
*preprocess_download_usgs_grids.py: Downloads data from USGS FIM studies
*preprocess_ahps_usgs.py: Produces benchmark USGS datasets
*preprocess_ahps_nws.py: Produces benchmark NWS datasets
The preprocessing scripts are meant to be run on the local workstation, not the VM, and require numerous file dependencies.
Removals
Changes
-Updated rating_curve_comparison.py to ingest categorical threshold flows for each USGS gage site.
Testing
Preprocessing not functional on VM due to numerous file dependencies. It was tested and verified that it worked on the workstation connected to NWC network
To run eval_plots with new individual setting:

python3 eval_plots.py -m /path/to/all_official_versions.csv -v fim_3_0_15_2_ms -i -w /path/to/workspace
To run sierra test with new catfim flows
python3 rating_curve_comparison.py -fim_dir /path/to/fimdir -output_dir /path/to/outputs -gages /path/to/usgs_rating_curves.csv -flows /path/to/nwm_recurr_flows -catfim /path/to/catfim_flows_cms.csv -j 10 -group 'location_id recurr_interval'
Screenshots
Notes
Todos
Checklist
Testing checklist
Target Environment support
Accessibility
Other