-
Notifications
You must be signed in to change notification settings - Fork 92
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
Fire weather refactor (non-b4b) #1215
Conversation
… into fire_weather_wind
… into fire_weather_wind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adrifoster Many thanks for refactoring this! I went through the changes and they look good, and I liked how you turned many parts into separate subroutines. I just made some minor suggestions on a couple of parameters and subroutines for clarity.
Thanks for the review @mpaiao. I made the requested changes and am running regression testing now. |
Testing seems to be the same as before - non-b4b but only for
|
This provides a second refactor to the SPITFIRE set of modules, adding effective windspeed and methods to calculate it to the fire weather class.
Description:
I made effective wind speed (previously a patch-level variable that was set to be the same value across every patch in the same site), an attribute of the (currently site-level) fire weather class.
Future updates can make the fire weather class a patch attribute if needed.
Expectation of Answer Changes:
Tests will NOT be b4b because we average the patch vs. site variables differently in the history output, but only the effective wind speed output is (very slightly) different. No other history variables are affected.
Checklist
Contributor
Integrator
Test Results:
Have run a small test case in the Amazon to prove only wind speed was affected. Will run full test suite as well.
CTSM (or) E3SM (specify which) test hash-tag:
ctsm5.2.007
CTSM (or) E3SM (specify which) baseline hash-tag:
ctsm5.2.007
FATES baseline hash-tag:
sci.1.76.4_api.35.1.0
Test Output:
DIFFS for only
FATES_EFFECT_WSPEED
, and were minimal