-
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
Add TimeManager module #9
Conversation
6b156ff
to
d426f11
Compare
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 good! minor comments for clarification
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.
LGTM, thanks, Julia! Just a few comments.
# TimeManager | ||
|
||
This module contains functions that handle dates and times | ||
in simulations. The functions in this module often call |
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.
"coupled simulations" may be more accurate?
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.
Some of these functions (e.g. to_datetime
) are used in the bucket model in ClimaLSM, which can be run standalone or in a coupled simulation, so I think it makes sense to keep the comment more general
8294a5c
to
8574bbb
Compare
8574bbb
to
b494073
Compare
This branch has been tested within ClimaCoupler and works there, so I'm merging it into main |
Purpose
Closes #6
Interface changes from other repos
ClimaCoupler.jl
current_date
function removed, should be added to ClimaCoupler.jl Utilities moduletrigger_callback
interface has changed, now increments cutoff date internally (so the result must get saved wherever the function is called from), and takes in callback function to be called if condition is metUse ClimaUtilities.jl CallbackManager module ClimaCoupler.jl#423
ClimaLSM.jl