-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bugfix/gahm converge3 #166
base: main
Are you sure you want to change the base?
Conversation
… be 0.95 to avoid extremely large values for Bg and B parameters
I'm still wondering about if should limit |
@WPringle I'm not sure if I fully understand; when you say:
Do you mean with a given ATCF row (as defined in ATCF forecast) where What is the problem then with going with the abs value difference like before instead of limiting to be less than |
@SorooshMani-NOAA Yeah originally, the idea was just to avoid close to one which gives instability problem. We can also do the 1.05 limit as well. But when I compare the test output files there are some cases that < 0.95 seems more reasonable, may other cases allowing > 1.05 more reasonable. So just want to think more about assumptions and how to edit for consistency. |
@WPringle may I ask what is your criteria when saying
? Is it comparing it against results from the current |
@SorooshMani-NOAA Basically yeah how the perturbation values change from the current |
@SorooshMani-NOAA I decided that it makes sense to limit |
…by the GAHM code in ADCIRC/PAHM/SCHISM. A catch for 0-kt isotach to avoid trying to fit an isotach radius to it
@SorooshMani-NOAA Some changes based on looking into the GAHM code and literature further. Overall, the effects are mostly minimal, with changes usually about 1 n mi to isotach radii here and there. |
@WPringle if there's no rush, I will merge this when I get back from HFIP |
…e isotach_radii in each quadrant. i.e., the rotation will be angled towards the quadrant with the largest isotach radius
Latest change makes the |
@SorooshMani-NOAA Not sure why failing as the test files were updated and ran on my side fine.. |
@WPringle let me run it locally on my side as well to see what happens |
@WPringle are you running your tests on a mac? Maybe there's a difference between results in mac vs linux that is causing the issue! |
@SorooshMani-NOAA No it's linux. I think it is a tricky precision issue based on package versions etc. Looking further so we could avoid the problem. |
@WPringle I remember in one of the other packages we had something like this about the precision caused by numpy version ... I'm not sure what we did there ... but I guess I pinned the version of numpy ... which is a short term solution! |
@SorooshMani-NOAA So what version of numpy you have? |
$ pip list | grep "\(numpy\|scipy\)"
numpy 1.26.4
scipy 1.12.0 |
…otach_radius when it is given as zero, based on the ratio of the other isotach_radii so as to avoid guessing B from traditional Holland model
Thanks, I still get different result with the same versions of these packages. What other packages could be important I wonder. |
@WPringle I'm not sure, maybe python version and underlying |
…etween package versions
Fix for convergence issue regarding #165