-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implements CCPP-ized tropopause_find #293
Implements CCPP-ized tropopause_find #293
Conversation
…se_read_file.F90 utility implementation
… of CCPP-ized tropopause_find
Verified that CAM and CAM-SIMA should give the same results now (via good old My bad, namelist error when setting the output precision, user error as I suspected 😄 False alarm! |
Updated |
After the Seems like the fillvalues are being written as 9.999...E+35
|
… regex match This resolves bit-for-bit issues with fillvalue being written as 9.99e+35 without this fix.
I had to specify |
…ure_from_climatology_dataset for tropp_p_loc
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.
Thanks @jimmielin for ensuring the tropopause code works in CAM-SIMA! I do have some change requests, but hopefully none that are too difficult to implement. Of course if you find that there is a problem or issue with anything I requested just let me know. Thanks!
- rename tropopause_read_file -> tropopause_climo_read and corrresponding subroutine names - move ccpp variable initialization calls into read subroutine - improved error handling with errmsg - compile Fortran numeric regex in generate_registry_data.py
Thanks @nusbaume for the review. I've addressed most of the concerns. There are a few questions that I wanted to confirm for some suggested changes, could you please take a look? I appreciate your help! |
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.
Super-close! Just one last code change and a standard-name change.
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.
Looks great now, thanks @jimmielin!
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.
One tiny comment to take or leave! Thanks @jimmielin
Thanks @nusbaume and @peverwhee for the reviews, merging it in! I'll address the standard names and the |
Companion PR: ESCOMP/atmospheric_physics#112
Note: I think I brought in more changes than necessary in
ncar_ccpp
due to the myatmospheric_physics
branch being based offdevelopment
rather than the released used in CAM-SIMA. I can do a rebase if necessary...Changes made to support CCPP-ized tropopause_find
interpolate_data.F90
from CAMtropopause_read_file.F90
to provide climatological tropopause data to tropopause_find from CAM-SIMA&tropopause_nl tropopause_climo_file
is read fromtropopause_read_file.F90
inside SIMA and not in the parameterization, to avoid passing this file name back and forth between the parameterization to CAM-SIMAget_curr_calday()
result to new standard name variablefractional_calendar_days_on_end_of_current_timestep
I recommend manually merging in the history PR for testing. It might be easier to merge my branch (
jimmielin:hplin/tropopause_find
) intopeverwhee:history_court
.