-
Notifications
You must be signed in to change notification settings - Fork 2
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
Callbacks condition
does not reflect if the diagnostic is computed/written to file.
#37
Comments
I think we have that: if you have a |
Ah, ok, great. Maybe it'd be as simple as |
Yes, I think so. If you want to find if compute or output has to be performed, you'll have to add The actual SciML callback that we currently add to the integrator already has a
This is essentially to hand down the control on what functions have to be run to |
Here's the relevant code we would change: ClimaDiagnostics.jl/src/clima_diagnostics.jl Lines 241 to 257 in 43ca4f1
|
It would be really nice if we could faithfully query whether a callback should be called/executed, via,
cb.condition
, as is done in SciMLBase.This, together with some small changes in ClimaAtmos, would allow us to implement a fully general benchmarking function to ClimaTimesteppers: CliMA/ClimaTimeSteppers.jl#106.
The text was updated successfully, but these errors were encountered: