-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix aquaplanet longruns #998
Conversation
2648fb2
to
9aef772
Compare
9aef772
to
5cd747a
Compare
Disabling diagnostics feels like a workaround: the root cause of the problem is that we are adding a land model when there's no land. Is there any easy ways to fix that? |
We can add two more branches to the big if/else here for the |
I think we could also come up with a different component model initialization approach - maybe we have smaller if/else chunks where we check the mode names and come up with flags to pass to generic component model constructors that dispatch off of them. E.g. we could have |
c98893e
to
727070e
Compare
Would it be possible to merge this as a temporary fix? |
Okay |
727070e
to
8008da4
Compare
Purpose
See failing longruns here
We have some longruns that evolve the atmos and surface states independently without coupling, so that we can independently test the infrastructure in the coupler that constructs and steps component models, and have a hierarchy of increasingly-complex runs. These
nocouple
runs are set up with a large coupling timestep (> t_end) so coupling never occurs.This caused an error in the bucket diagnostics because the (very large) coupling timestep was being passed to the bucket model and used as its timestep. We actually have separate quantities
dt
anddt_cpl
in our config files, where one is the component model timestep and the other is coupling timestep, butdt
isn't being used except for inClimaAtmos.get_simulation
There are a few things that should be done differently here
The first point is addressed in this PR, the second is partially addressed here, and the third will be addressed separately.
Content
dt
from the config dict and pass this to component models instead ofdt_cpl
To-do (in separate PRs)