-
Notifications
You must be signed in to change notification settings - Fork 13
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] Incorrect cfs to cms conversion factor in ras2fim rating curve export #330
Comments
That likely means we have a problem farther up the code change. In the steps prior to hitting reformat_ras_rating_curves.py, there is now code that adds both the metric and imperial values such as cfs and cms. This means reformat_ras_rating_curves.py doesn't need to do it anymore. That calc was moved up the chain for other reasons. We will need to confirm that the rating curves being pulled in to reformat_ras_rating_curve,py do already have both metric and imperial (I might be wrong). If so, remove this line in reformat. Which is why it might be wrong in the first place if the value in that column was adjusted twice. Research required. Reformat... should now just be a pass through. Or not using the right new column from the rating curves. |
Just to clarify - I don't think there is an "adjusted twice" issue here. That |
oh.. gotcha. We do need to look at the rating curves coming into reformat... as there was an attempt, I believe to have cms and cfs values in the rating curve, and all_cs_info_fid_{feature id}.csv files to have both a discharge_cfs and discharge_cms. Meaning a conversion was no longer needed in reformat... jsut use the other column. But maybe something got out of sync. See: s3://ras2fim/output_ras2fim/12090301_2277_ble_240602/06_create_rating_curves/10012_WILLBARGER 0062/all_xs_info_fid_5788808.csv ras2fim/src/reformat_ras_rating_curve.py Line 319 in ee0975e
So.. we might want to investigate a bit more. Might just be a field change in reformat... but needs to double checked. |
I think we need to check out code farther up the code chain as it needs to be corrected as well. |
ya.. not sure really. Maybe this will help ras2fim/src/create_rating_curves.py Line 320 in ee0975e
|
See code line here:
ras2fim/src/reformat_ras_rating_curve.py
Line 388 in ee0975e
The text was updated successfully, but these errors were encountered: