-
Notifications
You must be signed in to change notification settings - Fork 193
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
Single column grid update_state! is missing the update_model_field_time_series!
#3756
base: main
Are you sure you want to change the base?
Conversation
Bonus, also the |
Good to have because it might be useful for testing and also, its definitely best if the single column mode is identical (except for performance) to 3D mode. |
@@ -37,6 +39,62 @@ const CAVD = ConvectiveAdjustmentVerticalDiffusivity | |||
@test all(sic_model.velocities.u.data[1, 1, :] .≈ per_model.velocities.u.data[1, 1, :]) | |||
@test all(sic_model.velocities.v.data[1, 1, :] .≈ per_model.velocities.v.data[1, 1, :]) | |||
@test all(sic_model.tracers.c.data[1, 1, :] .≈ per_model.tracers.c.data[1, 1, :]) | |||
|
|||
@info "Testing forcing a single column grid model with a FieldTimeSeries..." |
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.
it looks like this tests both single column and periodic
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.
Another way to do this test would be to add a single column grid test alongside wherever update_model_field_time_series
is already tested. That might be less test code / easier to maintain.
Co-authored-by: Gregory L. Wagner <[email protected]>
Co-authored-by: Gregory L. Wagner <[email protected]>
required to force the model with a field time series.
This PR adds
update_model_field_time_series!
to theupdate_state!
for single column grids and a test