-
Notifications
You must be signed in to change notification settings - Fork 30
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
[2pt] PR: New SRC calibration point data w/ max extent #1268
base: dev
Are you sure you want to change the base?
Conversation
Hey Ryan. Heads up.. the two variable changse in Bash_variables are already correct at 241002 for bridges and bathymetric (versus the older bathymetry) file. Do you have latest into your branch already? |
Not sure I understand. The only change in bash_variables.env with this feature branch is the |
This PR was reviewed for 6 HUCs including 04300103, 03100208, 02050103, 04100008, 07140104, and 07140102. The results were compared with dev under 3 flow files including 25- and 50-year floods and ana_flow |
Alpha test also has been run for these 6 hucs. The following depicts the results for HUC8s |
The following depicts the alpha test results for HUC8s |
This code preprocesses the partner FIM benchmark HEC-RAS libraries and converts the inundation extent polygons into a edge point database for the input to the HAND SRC calibration/adjustment algorithm. The key changes with the new input data are the addition of the max stage/flow points as well as the removal of the 10m grid point snapping. Note that the raw data to run this code is not available for external users, so this code can only be run internally. Addresses #945, #1345.
Additions
data/nws/ahps_bench_polys_to_calb_pts.py
: this script ingests the HEC-RAS partner FIM benchmark data and outputs huc level parquet files containing the water edge points with associated attributes.data/nws/merge_nws_usgs_point_parquet.py
: the script combines thenws
andusgs
parquet point files created seperately by theahps_bench_polys_to_calb_pts.py
scriptTesting
This branch was tested on a subset of the alpha domain. Summarized results provided below:
Alpha evaluation for USGS partner fim benchmark sites
Major flood category -->
Minor flood category -->
Alpha evaluation for NWS partner fim benchmark sites
Major flood category (Note that the outlier degraded performance sites in this plot were originally dropped by the point processing scripts due to anomalies in file naming from the source data. These issues were resolved and the updated points were added to the database; however, I did not rerun the fim_pipeline and alpha test. -->
Minor flood category -->
Notes
Some additional inventory notes:
Total number of HUC8 parquet files with calibration points:
This reduction is largely due to a different method in prescribing the calibration points to the HUC in which the NWS lid point is attributed. The previous version of the points appears to have been generated by using a "cookie cutter" method of clipping points by the HUC8 polygons. The previous method appears to have resulted in numerous HUCs containing calibration points that were associated to a neighboring/downstream flood source which often resulted in erroneous calibration results. The new method appears to avoid those artifacts without compromising in other areas. Here is the list of 23 HUC8s that no longer have calibration point files in the new dataset:
Deployment Plan (For developer use)
How does the changes affect the product?
Issuer Checklist (For developer use)
You may update this checklist before and/or after creating the PR. If you're unsure about any of them, please ask, we're here to help! These items are what we are going to look for before merging your code.
[_pt] PR: <description>
dev
branch (the default branch), you have a descriptive Feature Branch name using the format:dev-<description-of-change>
(e.g.dev-revise-levee-masking
)dev
branchpre-commit
hooks were run locallyMerge Checklist (For Technical Lead use only)