Skip to content

Warning message regarding free surface when using checkpoint is not consistent #4516

@roxyboy

Description

@roxyboy

Hi Oceananigans,

I would like to report a warning message that could be confusing.
Continuing the discussion, I am getting the following error when restarting the simulation from a pickup file:

julia> chkpt = 67500
julia> run!(simulation, pickup=chkpt)
------------------------------------
┌ Warning: Tendencies for η do not exist in checkpoint and could not be restored.
└ @ Oceananigans.OutputWriters [~/.julia/packages/Oceananigans/YRhAo/src/OutputWriters/checkpointer.jl:277](http://127.0.0.1:8989/lab/tree/Oceananigans/ocean_wind_mixing_and_convection/~/.julia/packages/Oceananigans/YRhAo/src/OutputWriters/checkpointer.jl#line=276)

The set up I have is the following:

using Oceananigans
using Oceananigans.Units

Lx = 100kilometers # east-west extent [m]
Ly = 100kilometers # north-south extent [m]
Lz = 500    # depth [m]

grid = RectilinearGrid(GPU(), size = (512, 512, 128),
                       x = (0, Lx),
                       y = (-Ly/2, Ly/2),
                       z = (-Lz, 0),
                       topology = (Periodic, Periodic, Bounded)
)

model = HydrostaticFreeSurfaceModel(; grid, 
            			    buoyancy = BuoyancyTracer(),
                                    coriolis = FPlane(f=1e-4),
                                    closure = CATKEVerticalDiffusivity(),
                                    tracers = (:b, :e), 
            			    boundary_conditions = (u=u_bcs, b=b_bcs),
                                    momentum_advection = WENO(order=5),
                                    tracer_advection = WENO(order=5)
)

The model seems to run despite the warning message.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions