-
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
[1pt] PR: Rating curves adjustments with ml-bathymetry data and optimized mannN #1340
base: dev
Are you sure you want to change the base?
Conversation
Ah. Looks like we have new inputs (and/or) some updated ones, correct? |
Hi Rob, yes that is correct.
…On Fri, Nov 8, 2024 at 1:56 PM Rob Hanna - NOAA ***@***.***> wrote:
Ah. Looks like we have new inputs (and/or) some updated ones, correct?
—
Reply to this email directly, view it on GitHub
<#1340 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRLX2UVV2DFIDLD565RASDZ7UXP5AVCNFSM6AAAAABROJK2XCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVHAYTAOJSGM>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
ok. awesome. Can you make a list of which files/folders so I know where to get them and get them moved around. Is it ok for me to start copying them around now? or not quite yet? |
Hi Rob,
|
The new files have been uploaded to all of the environments. |
This PR focuses on adjusting rating curves by using bathymetric data and optimized channel roughness values. The bathymetry data includes eHydro surveys and AI-based datasets created for all NWM streams. New manning roughness values were developed for each feature-id using a differential evolution objective function (OF). The OF minimizes the number of the false_positives and false_negatives cells in our flood inundation maps where we have test cases across the CONUS.
Even though the Python scripts of roughness manning number optimization were not included in this branch, optimized roughness values can be found here:
/fim-data/inputs/rating_curve/variable_roughness/mannings_optz_fe_clusters_so3.csv
. Detailed python scripts also can be found here:/fim-data/outputs/heidi-mannN-optimization/projects/bathy_mannN_projects/dev-bathymetric-adjustment-mannN-optz/
.Changes
src/bathymetric-adjustment.py
:correct_rating_for_ai_based_bathymetry
function was added to the script. This function processes AI-based bathymetry data and adjusts rating curves using this data. Alsoapply_src_adjustment_for_bathymetry
function was added to prioritize USACE eHydro over AI-based bathymetry dataset. The multi-processing functionmulti_process_hucs
was updated based on the latest code.src/bash_variables.env
: New variables and their paths were added. Also, a new input file with the nwm feature_ids and optimized channel roughness and overbank roughness attributes was created and stored here:/fim-data/inputs/rating_curve/variable_roughness/mannings_optz_fe_clusters_so3.csv
The locations of these files were also added to the
bash_variables.env
.Here is a list of new/updated input files:
/fim-data/inputs/rating_curve/variable_roughness/mannings_optz_fe_clusters_so3.csv
This CSV file contains the new optimized roughness values. It will replace this file:
vmann_input_file=${inputsDir}/rating_curve/variable_roughness/mannings_global_nwm3.csv
bathy_file_aibased=${inputsDir}/bathymetry/ml_outputs_v1.01.parquet
This file contains the ml-bathymetry and manning roughness values data.
bathy_file_ehydro=${inputsDir}/bathymetry/final_bathymetry_ehydro.gpkg
We already had this file, the name of the variable has changed from
bathymetry_file
tobathy_file_ehydro
, and it was updated.fim_post_processing.sh
: New arguments were added.Testing
This PR has been tested on 11 HUC8s around the Illinois River and Ohio River.
Deployment Plan (For developer use)
How do 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 locally4.x.x.x
Merge Checklist (For Technical Lead use only)