Skip to content

Commit

Permalink
Fix small typos in near-global ocean example (#291)
Browse files Browse the repository at this point in the history
* Fix typos

* CrossRealmFluxes --> CrossRealFluxes

* CrossRealFluxes --> CrossRealmFluxes
  • Loading branch information
NoraLoose authored Dec 10, 2024
1 parent 7dd3877 commit c6fe6a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/src/library/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Modules = [ClimaOcean.OceanSeaIceModels]
Private = false
```

## CrossRealFluxes
## CrossRealmFluxes

```@autodocs
Modules = [ClimaOcean.OceanSeaIceModels.CrossRealmFluxes]
Expand Down
9 changes: 4 additions & 5 deletions examples/near_global_ocean_simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,11 @@ set!(ocean.model, T=ECCOMetadata(:temperature; dates=date),
radiation = Radiation(arch)

# The atmospheric data is prescribed using the JRA55 dataset.
# The number of snapshots that are loaded into memory is determined by
# the `backend`

# into memory in 41 snapshots at a time. The JRA55 dataset provides atmospheric
# The JRA55 dataset provides atmospheric
# data such as temperature, humidity, and wind fields to calculate turbulent fluxes
# using bulk formulae, see [`CrossRealmFluxes`](@ref).
# The number of snapshots that are loaded into memory is determined by
# the `backend`. Here, we load 41 snapshots at a time into memory.

atmosphere = JRA55_prescribed_atmosphere(arch; backend=JRA55NetCDFBackend(41))

Expand All @@ -117,7 +116,7 @@ atmosphere = JRA55_prescribed_atmosphere(arch; backend=JRA55NetCDFBackend(41))

coupled_model = OceanSeaIceModel(ocean; atmosphere, radiation)

# We then create a coupled simulation, starting with a time step of 10 seconds
# We then create a coupled simulation, starting with a time step of 90 seconds
# and running the simulation for 10 days.

simulation = Simulation(coupled_model; Δt=90, stop_time=10days)
Expand Down

0 comments on commit c6fe6a0

Please sign in to comment.