Skip to content

v0.104.0

Choose a tag to compare

@github-actions github-actions released this 18 Jan 07:17
· 295 commits to main since this release
1249e7f

Oceananigans v0.104.0

Diff since v0.103.1

Breaking changes

  • The grid is now an argument in model constructors instead of keyword argument (#5087).

    For example, new syntax requires:

    julia> model = HydrostaticFreeSurfaceModel(grid; kw...)

    instead of

    julia> model = HydrostaticFreeSurfaceModel(; grid, kw...)
  • The free surface displacement in the HydrostaticFreeSurfaceModel is now called displacement (#5082)

    For example, new syntax requires:

    julia> η = model.free_surface.displacement

    instead of

    julia> η = model.free_surface.η
  • Checkpointing has changed significantly; look at #4892. Also note, that simulations checkpointed with up to v0.103 will not be able to be picked up by v0.104+.

  • #5117

  • #5147

Merged pull requests:

Closed issues:

  • Initialize output before running a simulation, rather than on construction? (#1163)
  • Convenience function: checkpoint(simulation) (#1249)
  • Feature: MPI-aware output writing and FieldTimeSeries (#2351)
  • Add example in docs on the sphere (#2584)
  • Checkpointer does not work for ShallowWaterModel (#2866)
  • NetCDFOutputWriter sometimes outputs twice at approximately the same time step (#3056)
  • Should we change Lx, Ly -> Lλ, Lφ for latitude-longitude grids? (#3134)
  • Estimate total output size when initializing output writers and throw a warning? (#3312)
  • Ensure simulation.Δt is the same across MPI ranks (#3336)
  • Stokes Drift Docs/Physics page does not include 3D Stokes implementation (#3432)
  • Boundary conditions and diffusion with background fields (#3568)
  • Simulation tips may be a little misleading (#3594)
  • Error in AveragedTimeInterval Output (#3670)
  • Change free surface displacement name from η to displacement for HydrostaticFreeSurfaceModel (#3702)
  • Bottom drag on immersed boundaries may differ if implemented with Forcing vs ImmersedBoundaryCondition (#3704)
  • A couple of issues with reductions over FieldTimeSeries (#3752)
  • Interface to build and output boundary conditions (#3774)
  • Implementing drag boundary conditions based on similarity theory (#3807)
  • Why is conformal_mapping the last property of OrthogonalSphericalShellGrid? (#3826)
  • Restarting from a checkpoint should restore the time step? (#3845)
  • FieldTimeSeries support for NetCDF (#3935)
  • Non-hydrostatic curvilinear shell? (#3943)
  • Incorrect style in HydrostaticFreeSurfaceModel constructor (#3966)
  • Wouldn't make sense for the *spacings to be GridMetricOperations? (#3970)
  • distributed_hydrostatic_turbulence.jl yields NaNs (#4068)
  • New documented example w immersed boundary, latlon grid, and immersed boundary bottom drag (#4102)
  • CumulativeIntegrals of Center fields are defined on Centers as opposed to Faces (#4354)
  • Warning message regarding free surface when using checkpoint is not consistent (#4516)
  • Trying to run a regional simulation with river inflow (#4703)
  • Conflict between immersed bottom and sponge relaxation (#4721)
  • Reductions on FieldTimeSeries not working (#4813)
  • Checkpointing that works (#4857)
  • Lock-Exchange Implementation (#4898)
  • Do we need docs for OpenBoundaryCondition with the PerturbationAdvection scheme? (#4916)
  • Convert FunctionField output to eltype(grid) (#5048)
  • Make output writers work for models that do not have grids (#5085)
  • "Running your first model" section of the README also needs using CUDA (#5109)
  • Output boundary conditions? (#5112)
  • Noise in vertical velocity when using AMD closure (#5114)
  • Mistyping(?) in clock.jl (#5121)
  • Bogus Oceananigans.Fields.validate_shifted_index method (#5151)
  • Bogus Oceananigans.Grids.default_horizontal_extent method (#5152)
  • Bogus Oceananigans.Advection.centered_reconstruction_weights method (#5155)
  • Bogus methods Oceananigans.Advection._multi_dimensional_reconstruction_x/Oceananigans.Advection._multi_dimensional_reconstruction_y (#5156)
  • Bogus methods Oceananigans.Advection.upwinded_divergence_flux_Uᶠᶜᶜ/Oceananigans.Advection.upwinded_divergence_flux_Vᶜᶠᶜ (#5157)