-
Notifications
You must be signed in to change notification settings - Fork 20
Add a prescribed ocean to the src #412
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
base: main
Are you sure you want to change the base?
Conversation
##### A prescribed ocean... | ||
##### | ||
|
||
struct PrescribedOceanModel{G, C, U, T, F, Arch} <: AbstractModel{Nothing, Arch} |
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.
We call it PrescribedAtmosphere
. Is this PrescribedOcean
or PrescribedOceanModel
?
I'm not sure really sure what a "prescribed model" is.
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.
Hmm, this is because we add a simulation on top, while the atmosphere is a "simulation" rather than a model. I can switch it to a simulation rather than a model
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.
this is because the infrastructure we have now expects an ocean with a pattern of ocean.model.stuff...
, while there is no assumption on the atmosphere. I did not want to make a huge refactor here, I can call it PrescribedOcean
though and just have one field called model
inside of it
τx = Field{Face, Center, Nothing}(grid) | ||
τy = Field{Center, Face, Nothing}(grid) | ||
Jᵀ = Field{Center, Center, Nothing}(grid) | ||
Jˢ = Field{Center, Center, Nothing}(grid) |
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.
why this? I think this is wrong
|
||
Arguments | ||
========= | ||
- `timeseries`: A `NamedTuple` containing time series data for various fields. The named tuple can be empty |
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.
the name is confusing because when we say "timeseries" it means just one series. But this is many timeseries?
This PR adds the
PrescribedOceanModel
to the src (shuffling around a couple of methods). This prescribed ocean is useful to perform single-column simulations of a sea ice model sandwiched between a prescribed atmosphere and a prescribed ocean, to verify the performance of the fluxes and the sea ice climatology