Skip to content

Conversation

simone-silvestri
Copy link
Collaborator

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

##### A prescribed ocean...
#####

struct PrescribedOceanModel{G, C, U, T, F, Arch} <: AbstractModel{Nothing, Arch}
Copy link
Member

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.

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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)
Copy link
Member

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
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants