-
Notifications
You must be signed in to change notification settings - Fork 10
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
OceanSeaIceModel
for coupled ocean-sea-ice simulations with prescribed atmospheric state and radiative fluxes
#49
Conversation
I also added an alias |
I think we need to ensure consistency between models and forcings:
|
Also, I'll start to implement |
I just realized that the feedback of the ice in the ocean is instantaneous, i.e. there is no flux that acts as a boundary condition for the ocean because the change is actuated instantaneously. It is kind of an "adjustment". Maybe we should change the name of the functions to reflect it, |
That is true, but the function does compute a flux which is passed into the ice model. Also, the "adjustment" is not mathematically distinguishable from a flux. In other words from the ocean perspective, there is an "implied flux". From the sea ice perspective, the flux is explicit. The situation is also a little more nuanced. That function implements a particular parameterization for the "ocean-driven melting" case (eg the "ice bath" model) that is most simply implemented as adjustment and thus implicit flux. However we want generalize it to other parameterizations which do involve explicit fluxes. So it will compute fluxes in the future... Let's discuss, this is a huge effort and so the code will be in a state of change for some time. We do need to flesh out the scaffolding though. |
Yes I think for the time being we should simply assume that the model has both temperature and salinity. Certainly, there is a place for idealized simulations with only one of the two, but I think it would be better to generalize later rather than build in the complexity now. |
IceOceanModel
for coupled ocean-sea-ice simulations with prescribed atmospheric state and radiative fluxesOceanSeaIceModel
for coupled ocean-sea-ice simulations with prescribed atmospheric state and radiative fluxes
Should we reuse |
When |
if the backend is user_fts = FieldTimeSeries(jld2_filename, fts_name; architecture, backend, time_indexing)
return user_fts |
OK, then perhaps the logic is OK but there must be a bug because in this case ClimaOcean.jl/src/DataWrangling/JRA55.jl Line 481 in badffb7
breaks because JRA55 and data wrangling utilities: Error During Test at /Users/navid/Research/ClimaOcean-v3.jl/test/test_jra55.jl:3
Got exception outside of a @test
UndefVarError: `fts` not defined
Stacktrace:
[1] JRA55_field_time_series(variable_name::Symbol; architecture::CPU, grid::Nothing, location::Nothing, url::Nothing, filename::Nothing, shortname::Nothing, latitude::Nothing, longitude::Nothing, backend::OnDisk, time_indexing::Oceananigans.OutputReaders.Cyclical{Nothing}, preprocess_chunk_size::Int64, preprocess_architecture::CPU, time_indices::UnitRange{Int64})
... Should |
Co-authored-by: Simone Silvestri <[email protected]>
I think this might be ready to merge when tests pass |
Great thanks for that! |
src/OceanSeaIceModels/CrossRealmFluxes/similarity_theory_turbulent_fluxes.jl
Outdated
Show resolved
Hide resolved
…lent_fluxes.jl Co-authored-by: Gregory L. Wagner <[email protected]>
…jl into glw-ss/ice-ocean-model
This PR makes progress towards #28 |
This PR implements a new model type called
OceanSeaIceModel
, which provides a user interface for coupled ocean-sea-ice simulations with a prescribed atmospheric state and radiative fluxes.cc @simone-silvestri