-
Notifications
You must be signed in to change notification settings - Fork 45
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
The ability to use different state values in different modules #115
Comments
You could do this by creating a
You would use it like:
After that, you could use the Note that you really want to just fix the humidity as input for the It would be more appropriate to contribute this wrapper upstream into Sympl than into CliMT, but it's also fine to just have as an external example wrapper a user can put into their code. |
Yes, this should find its way to sympl eventually. |
Thank you @mcgibbon , that sounds very helpful. Do you or @JoyMonteiro think that there could be a problem with how I structured my code to try and get the desired effect? Just as a check, I can try the TendencyComponent approach and see if the results are any different than my script. |
I have been thinking about this, and there will be a difference if you use two timesteppers instead of a wrapper like @mcgibbon suggested. This is because the input state to the second timestepper is the output of the first one. Thus, some components see a different model state than the convection scheme. I don't think this should be a huge issue, however. You should verify that the model output seems scientifically sensible. |
Thanks, Joy. I'll give both runs a try and see if any differences result.
Hope your paper worries are over or near-over for the time being!
I would love to talk with you sometime soon about the code, just so I can
get a firm understanding on everything we've discussed. Let me know if
you're available.
Best wishes,
Haynes
…On Thu, Nov 7, 2019 at 10:21 PM JoyMonteiro ***@***.***> wrote:
I have been thinking about this, and there will be a difference if you use
two timesteppers instead of a wrapper like @mcgibbon
<https://github.com/mcgibbon> suggested.
This is because the input state to the second timestepper is the output of
the first one. Thus, some components see a different model state than the
convection scheme.
I don't think this should be a huge issue, however. You should verify that
the model output seems scientifically sensible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#115?email_source=notifications&email_token=AEOYOYGNTMXQRTZ76BKSSCDQSTSMVA5CNFSM4JG2EWR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDOV3FQ#issuecomment-551378326>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEOYOYFLU75TQEEGDSCGZ53QSTSMVANCNFSM4JG2EWRQ>
.
|
Description
Per Joy's request: I am trying to run a one-dimensional model that holds fixed the radiative properties of atmospheric water vapor. I've hacked a way to do it by creating two separate Adams-Bashforth tendency steppers, one for the radiative modules and one for the rest. In the radiative stepper, I prescribe a constant humidity profile at every step, whereas for the other stepper I allow the humidity to evolve. But if there were some wrapper or another method of being able to do this that were as easy as "humidity.rad=constant", that would help expand the innate capabilities of CliMT.
What I Did
The text was updated successfully, but these errors were encountered: