-
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
Feature/psturm/kpp standalone interface #9
base: geos/develop
Are you sure you want to change the base?
Conversation
Hi @obin1, @christophkeller, et al. - How involved would you like me to be in reviewing this? We want to make sure we don't diverge too much from the standard model. Is this update something that should go into the standard model first and then feed back to geos/develop in a version updates? |
We could go that route. @obin1 made only a few updates, and we might just want to cherry-pick his two commits (690d6c2, 2949d61) and bring those into the standard model or |
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.
I am testing this out in the dev version of GEOS-Chem 14.4.0. I will post comments as I come across them.
Ideally there would be a run-time switch somewhere to turn on these sorts of debug options. Are you planning to add that? |
I'm envisioning this as a more general tool, and different use cases would need to add their own logic on when to turn on the writing functionality. One example is around lines 1220-1250 of |
Hi all, we're still ironing out a few things with this PR. There's a few cases where the KPP Standalone doesn't replicate the 3D results, I've seen this problem when the initial timestep in an input file is equal to the operator splitting timestep. I'll update this thread when the PR is ready for review and potential merge. |
@christophkeller and @viral211, I've finished the validation for the KPP Standalone -- @msl3v and I think the very few cases that aren't replicated are just from round-off error, and the differences are fairly minor. I think this PR is now ready for review! |
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.
Resolving all threads, we added all the changes @lizziel suggested except for the fort.* issue, which isn't showing up on Discover. We did some additional verification in the KPP Standalone branch and found that the results are almost all replicated, except for a small number of files with small differences in integrator parameters (final timestep and number of internal steps)
Tagging @yantosca |
I created a draft PR to bring this into the standard model. See geoschem#2482. @yantosca will be testing. |
Hi Lizzie, sorry for the late response -- my group does not yet have GEOS-Chem in house, so I wasn't sure about the best way to make the pull request and hadn't found a good alternative yet. I saw now that you made the pull request to the standard model, thanks! By the way, I think I addressed all the changes you requested in the initial review, but don't know how to turn that flag off on the Github browser. |
@obin1 @lizziel: I have made several updates to the KPP standalone interface at geoschem#2482. Please feel free to comment further and suggest changes. I was able to add a master on/off switch, as well as adding start/end dates in the YAML file to determine the window when model state should be archived to disk. You can set that to a large period (i.e. 1900..2100) to archive on each timestep or restrict it to the end of a model run (e.g. 20190701 004000 to 20190702 00000, |
@yantosca thanks for adding the timestep option! We had envisioned that as something that could wait for a subsequent version, but this is a really useful addition and great to have already. |
This update is now merged into the standard model branch dev/no-diff-to-benchmark. It will be released as part of 14.5.1: geoschem#2482. |
@obin1, shall I close this PR since I am bringing 14.5.1 into GEOS? It is not yet released but I will merge in what is available now (to GEOS-ESM geos-chem branch 'geos/latest_gcc'), which includes this update. |
Yes, thank you @lizziel! I think we can go ahead and close this PR. Great to see that it's making it into geos/latest_gcc. |
Name and Institution (Required)
Name: Obin Sturm
Institution: University of Southern California
Confirm you have reviewed the following documentation
Describe the update
The initial version of KPP Standalone Interface is used to output the full chemical state of targeted grid cells in 3D runs. Specific grid cells can be configured using a YAML file at run time, but the write output functionality can be used more flexibly in fullchem if output should be written under other conditions (e.g. integrator convergence issues or specific meteorological conditions).
Expected changes
These changes are zero diff to model output, but allow for a new type of model output containing the full chemical state (rate constants and concentrations) needed to replicate chemistry in a specified grid cell using the KPP Standalone chemical integrator.
Reference(s)
None
Related Github Issue(s)
None