Skip to content
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

Errors in cooling_then_warming_ocean.jl #34

Open
francispoulin opened this issue Aug 3, 2024 · 5 comments
Open

Errors in cooling_then_warming_ocean.jl #34

francispoulin opened this issue Aug 3, 2024 · 5 comments

Comments

@francispoulin
Copy link

francispoulin commented Aug 3, 2024

I have found some errors in this script but I don't know the library well enough to proposes fixes.

First, this line can be removed as there is no longer a HeatBoundaryConditions.

using ClimaSeaIce.HeatBoundaryConditions: RadiativeEmission, IceWaterThermalEquilibrium

It sems that RadiativeEmission is already imported by ClimaSeaIce.jl. But I have not found an IceWaterThermalEquilibrium. Maybe the name has changed?

Second, IceWaterThermalEquilbrium is not defined but is called in the line below. Maybe the name has changed?

bottom_bc = IceWaterThermalEquilibrium(ocean_surface_salinity)

Third, SlabSeaIceModel is not defined but is called in line 97.

coupled_model = IceOceanModel(ice_simulation, ocean_simulation)

@glwagner
Copy link
Member

glwagner commented Aug 5, 2024

@simone-silvestri

@simone-silvestri
Copy link
Collaborator

There are some leftovers from the refactor that I have to address. In particular, I have not adapted the validation cases to the new syntax. I will deal with this in a new PR

@glwagner
Copy link
Member

glwagner commented Aug 7, 2024

I think this is an example, so it may also need to be put into the docs

@simone-silvestri
Copy link
Collaborator

I am unsure about using this as an example because it uses a hacky IceOceanModel.
I would revamp this by using ClimaOcean and it's own OceanSeaIceModel

@glwagner
Copy link
Member

glwagner commented Aug 7, 2024

Ah ok, then let's scrap it. I'm not sure we should put ClimaOcean into ClimaSeaIce examples. For example, we don't use ClimaOcean in Oceananigans examples.

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

No branches or pull requests

3 participants