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

arctic_night.jl needs a field model #324

Open
waywardpidgeon opened this issue Jan 7, 2025 · 1 comment
Open

arctic_night.jl needs a field model #324

waywardpidgeon opened this issue Jan 7, 2025 · 1 comment

Comments

@waywardpidgeon
Copy link

When trying the arctic_night.jl example I get

PS C:\Users\kab\cc\ccex01\ClimaOcean.jl\myexamples> julia --project arctic_night.jl
ERROR: LoadError: type BuoyancyForce has no field model
Stacktrace:
 [1] getproperty(x::BuoyancyForce{SeawaterBuoyancy{Float64, SeawaterPolynomials.BoussinesqEquationOfState{SeawaterPolynomials.TEOS10.TEOS10SeawaterPolynomial{Float64}, Float64}, Nothing, Nothing}, Oceananigans.Grids.NegativeZDirection}, f::Symbol)
   @ Base .\Base.jl:37
 [2] top-level scope
   @ C:\Users\kab\cc\ccex01\ClimaOcean.jl\myexamples\arctic_night.jl:32
in expression starting at C:\Users\kab\cc\ccex01\ClimaOcean.jl\myexamples\arctic_night.jl:32

Any ideas? What am I missing here?

@glwagner
Copy link
Member

glwagner commented Jan 8, 2025

Nice find! Recently we changed the syntax of Buoyancy.model to BuoyancyForce.formulation. Check out #325.

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

2 participants