Skip to content

Commit 9356370

Browse files
glwagnernavidcy
andauthored
Add computation of neutral bulk coefficients to docs (#526)
* Experiment with computing the neutral coefficients * clean up stability_profile implementation * edson -> atmosphere_ocean * fixes * open docs and tweak * atmosphere surface name * updates and clean up * export CoefficientBasedFluxes * test increasing charnock parameter * update docs * rm ClimaOcean from docs Project * add examples back * few tweaks * huge fonts * different legent setup * updates * better introduction * more updates * fix wrong statement about water vapor heaviness * Update src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl * continuing * API streamlining * fix * plot stability function + bugfix * fix * put examples back * add docstring to struct @glwagner if we wanna document the structs I think this is the way to do so * import DocStringExtensions * only convert if it's a number * fix few typos and stray spaces * fix bug? * bit of typos/rephrasing/better rendering * fix bug? * bugfix for roughness length interface * Update docs/src/interface_fluxes.md Co-authored-by: Navid C. Constantinou <[email protected]> * fix roughness length interface again * fix surface_specific_humidity function * fix grachev bug * fix * small fixes * add colorbars and labels * add units * balance colormap * fix typo * add legend w ΔTs * better notation for stabiltiy fucntions * fix some tests * add back the mysterious log and atan @glwagner, confirm that it was not removed intentionally * add few refs * fix latex rendering * add vanilla docstring * add ETOPO2022() in available datasets * add modules * fix docs ref * add back chatgpt error * beautifications + remove duplicate code * add citations --------- Co-authored-by: Navid C. Constantinou <[email protected]>
1 parent 8c0bb84 commit 9356370

28 files changed

+1430
-400
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ ClimaSeaIce = "6ba0ff68-24e6-4315-936c-2e99227c95a4"
1212
CubicSplines = "9c784101-8907-5a6d-9be6-98f00873c89b"
1313
DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
1414
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
15+
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
1516
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
1617
ImageMorphology = "787d08f9-d448-5407-9aad-5290dd7ab264"
1718
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
@@ -47,6 +48,7 @@ ClimaSeaIce = "0.2.6"
4748
CondaPkg = "0.2.28"
4849
CubicSplines = "0.2"
4950
DataDeps = "0.7"
51+
DocStringExtensions = "0.9"
5052
Downloads = "1.6"
5153
ImageMorphology = "0.4"
5254
JLD2 = "0.4, 0.5"

docs/climaocean.bib

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,24 @@ @article{edson2013exchange
88
year={2013},
99
doi={10.1175/JPO-D-12-0173.1}
1010
}
11+
12+
@article{large2009global,
13+
title={The global climatology of an interannually varying air--sea flux data set},
14+
author={Large, W G and Yeager, S G},
15+
journal={Climate Dynamics},
16+
volume={33},
17+
pages={341--364},
18+
year={2009},
19+
doi={10.1007/s00382-008-0441-3}
20+
}
21+
22+
@article{nishizawa2018surface,
23+
author = {Nishizawa, S. and Kitamura, Y.},
24+
title = {A Surface Flux Scheme Based on the {Monin-Obukhov} Similarity for Finite Volume Models},
25+
journal = {Journal of Advances in Modeling Earth Systems},
26+
volume = {10},
27+
number = {12},
28+
pages = {3159-3175},
29+
doi = {10.1029/2018MS001534},
30+
year = {2018}
31+
}

docs/make.jl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@ const EXAMPLES_DIR = joinpath(@__DIR__, "..", "examples")
1717
const OUTPUT_DIR = joinpath(@__DIR__, "src/literated")
1818

1919
to_be_literated = [
20-
# "ecco_inspect_temperature_salinity.jl",
21-
# "generate_bathymetry.jl",
22-
# "generate_surface_fluxes.jl",
2320
"single_column_os_papa_simulation.jl",
2421
"one_degree_simulation.jl",
25-
# "mediterranean_simulation_with_ecco_restoring.jl",
2622
"near_global_ocean_simulation.jl"
2723
]
2824

@@ -46,15 +42,13 @@ pages = [
4642
"Home" => "index.md",
4743

4844
"Examples" => [
49-
# "Inspect ECCO2 data" => "literated/ecco_inspect_temperature_salinity.md",
50-
# "Generate bathymetry" => "literated/generate_bathymetry.md",
51-
# "Surface fluxes" => "literated/generate_surface_fluxes.md",
5245
"Single-column ocean simulation" => "literated/single_column_os_papa_simulation.md",
53-
# "Mediterranean simulation with ECCO restoring" => "literated/mediterranean_simulation_with_ecco_restoring.md",
5446
"One-degree ocean simulation" => "literated/one_degree_simulation.md",
5547
"Near-global ocean simulation" => "literated/near_global_ocean_simulation.md",
5648
],
5749

50+
"Interface fluxes" => "interface_fluxes.md",
51+
5852
"Library" => [
5953
"Contents" => "library/outline.md",
6054
"Public" => "library/public.md",

docs/src/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
🌎 Realistic ocean-only and coupled ocean + sea-ice simulations driven by prescribed atmospheres and based on [Oceananigans](https://github.com/CliMA/Oceananigans.jl) and [ClimaSeaIce](https://github.com/CliMA/ClimaSeaIce.jl).
44

5-
ClimaOcean implements a framework for driving coupled ocean and sea ice simulations with prescribed atmospheres, using bulk formula to compute atmosphere-ocean, atmosphere-ice, and ocean-ice fluxes of heat, momentum, and freshwater. ClimaOcean builds off the Oceananigans framework, which provides tools for gridded finite volume computations on CPUs and GPUs and building ocean-flavored fluid dynamics simulations. ClimaSeaIce, which provides software for both stand-alone and coupled sea ice simulations, is also built with Oceananigans.
5+
ClimaOcean implements a framework for coupling prescribed or prognostic representations of the ocean, sea ice, and atmosphere state.
6+
Fluxes of heat, momentum, and freshwater are computed across the interfaces of its component models according to either Monin-Obukhov similarity theory,
7+
or coefficient-based "bulk formula".
8+
ClimaOcean builds off Oceananigans, which provides tools for gridded finite volume computations on CPUs and GPUs and building ocean-flavored fluid dynamics simulations. ClimaSeaIce, which provides software for both stand-alone and coupled sea ice simulations, is also built with Oceananigans.
69

7-
ClimaOcean's core abstractions are `OceanSeaIceModel` which encapsulates the ocean simulation, sea ice simulation, prescribed atmospheric state, atmospheric thermodynamic parameters, and parameterizations that define how the three communicate. ClimaOcean also implements `ocean_simulation`, a utility for building realistic, hydrostatic ocean simulations with Oceananigans ensuring compatibility with `OceanSeaIceModel`.
10+
ClimaOcean's core abstraction is [`OceanSeaIceModel`](@ref), which encapsulates the ocean, sea ice, and atmosphere state, and interfacial flux parameterizations.
11+
ClimaOcean also implements [`ocean_simulation`](@ref), a utility for building realistic, hydrostatic ocean simulations with Oceananigans ensuring compatibility with `OceanSeaIceModel`.
812

913
ClimaOcean is written in Julia by the [Climate Modeling Alliance](https://clima.caltech.edu)
1014
and heroic external collaborators.

0 commit comments

Comments
 (0)