diff --git a/CLAUDE.md b/CLAUDE.md index 94a7f97..3e111e0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,11 +1,11 @@ -# PaleoBeasts — Claude Code Notes +# ClimateCritters — Claude Code Notes ## Python environment -Always use the `pb_jpl_env` conda/virtual environment when running Python commands for this project. +Always use the `cc_env` conda/virtual environment when running Python commands for this project. ```bash -conda run -n pb_jpl_env python ... +conda run -n cc_env python ... # or activate first: -conda activate pb_jpl_env +conda activate cc_env ``` diff --git a/climatecritters/model_critters/bistable_melcher.py b/climatecritters/model_critters/bistable_melcher.py index c4984b6..e4e890f 100644 --- a/climatecritters/model_critters/bistable_melcher.py +++ b/climatecritters/model_critters/bistable_melcher.py @@ -176,7 +176,7 @@ class BistableMelcherModel(CCModel): References ---------- - Melcher et al. (2025), Clim. Past, 21, 115-132. https://cp.copernicus.org/articles/21/115/2025/ + Melcher et al. (2025), *Clim. Past*, 21, 115-132. https://cp.copernicus.org/articles/21/115/2025/ """ uses_post_history = True diff --git a/climatecritters/model_critters/ebm.py b/climatecritters/model_critters/ebm.py index d954fd3..6128473 100644 --- a/climatecritters/model_critters/ebm.py +++ b/climatecritters/model_critters/ebm.py @@ -222,6 +222,19 @@ class EBM0D(EBMBase): OLR_func : Default OLR callable factory. albedo_func : Ice-albedo callable for use as the ``albedo`` parameter. + References + ---------- + Budyko, M. I., 1969: The effect of solar radiation variations on the climate + of the Earth. *Tellus*, 21(5), 611–619, + [doi:10.3402/tellusa.v21i5.10109](https://doi.org/10.3402/tellusa.v21i5.10109). + + Sellers, W. D., 1969: A global climatic model based on the energy balance of + the Earth-atmosphere system. *J. Appl. Meteorol.*, 8(3), 392–400, + [doi:10.1175/1520-0450(1969)008<0392:AGCMBO>2.0.CO;2](https://doi.org/10.1175/1520-0450(1969)008<0392:AGCMBO>2.0.CO;2). + + R.T. Pierrehumbert, 2010: Principles of Planetary Climate. *Cambridge University Press*, + ISBN 9781139495066. (Chapter 3) + Examples -------- @@ -373,6 +386,16 @@ class EBM1DLat(EBMBase): EBMBase : Shared base class. albedo_func1D : Latitudinally-resolved albedo callable. + References + ---------- + Budyko, M. I., 1969: The effect of solar radiation variations on the climate + of the Earth. *Tellus*, 21(5), 611–619, + [doi:10.3402/tellusa.v21i5.10109](https://doi.org/10.3402/tellusa.v21i5.10109). + + Sellers, W. D., 1969: A global climatic model based on the energy balance of + the Earth-atmosphere system. *J. Appl. Meteorol.*, 8(3), 392–400, + [doi:10.1175/1520-0450(1969)008<0392:AGCMBO>2.0.CO;2](https://doi.org/10.1175/1520-0450(1969)008<0392:AGCMBO>2.0.CO;2). + Examples -------- diff --git a/climatecritters/model_critters/enso_recharge.py b/climatecritters/model_critters/enso_recharge.py index f2adf18..91dc9bc 100644 --- a/climatecritters/model_critters/enso_recharge.py +++ b/climatecritters/model_critters/enso_recharge.py @@ -102,8 +102,8 @@ class ENSORechargeOscillator(CCModel): References ---------- - Jin, F.-F. (1997). An equatorial ocean recharge paradigm for ENSO. - J. Atmos. Sci., 54, 811–829. + Jin, F.-F., 1997: An Equatorial Ocean Recharge Paradigm for ENSO. *J. Atmos. + Sci.*, 54, 811–829, [doi:10.1175/1520-0469(1997)054<0811:AEORPF>2.0.CO;2](https://doi.org/10.1175/1520-0469(1997)054<0811:AEORPF>2.0.CO;2). Examples -------- diff --git a/climatecritters/model_critters/g24.py b/climatecritters/model_critters/g24.py index 88c53ca..20e9ebd 100644 --- a/climatecritters/model_critters/g24.py +++ b/climatecritters/model_critters/g24.py @@ -57,8 +57,8 @@ class Model3(CCModel): References ---------- - Ganopolski, A. (2024). Glacial cycles. *Nature Reviews Earth & - Environment*, 5, 89–106. + Ganopolski, A., 2024: Toward generalized Milankovitch theory, *Clim. Past*, 20(1):151–185, [doi: 10.5194/cp-20-151-2024](https://cp.copernicus.org/articles/20/151/2024/.) + Examples -------- diff --git a/climatecritters/model_critters/lorenz.py b/climatecritters/model_critters/lorenz.py index 12054f5..df815f2 100644 --- a/climatecritters/model_critters/lorenz.py +++ b/climatecritters/model_critters/lorenz.py @@ -55,8 +55,12 @@ class Lorenz96(CCModel): References ---------- - Lorenz, E. N. (1996). Predictability: A problem partly solved. - Lorenz, E. N., & Emanuel, K. A. (1998). J. Atmos. Sci., 55, 399–414. + Lorenz, E. N., 1996: Predictability: A problem partly solved. *Proc. Seminar + on Predictability*, Reading, UK, ECMWF, 1–18. + + Lorenz, E. N., and K. A. Emanuel, 1998: Optimal Sites for Supplementary + Weather Observations: Simulation with a Small Model. *J. Atmos. Sci.*, 55, + 399–414, [doi:10.1175/1520-0469(1998)055<0399:OSFSWO>2.0.CO;2](https://doi.org/10.1175/1520-0469(1998)055<0399:OSFSWO>2.0.CO;2). Examples -------- @@ -208,7 +212,8 @@ class Lorenz63(CCModel): References ---------- - Lorenz, E. N. (1963). J. Atmos. Sci., 20, 130–141. + Lorenz, E. N., 1963: Deterministic Nonperiodic Flow. *J. Atmos. Sci.*, 20, + 130–141, [doi:10.1175/1520-0469(1963)020<0130:DNF>2.0.CO;2](https://doi.org/10.1175/1520-0469(1963)020<0130:DNF>2.0.CO;2). Examples -------- diff --git a/climatecritters/model_critters/roessler.py b/climatecritters/model_critters/roessler.py index adb6c8b..1c3e692 100644 --- a/climatecritters/model_critters/roessler.py +++ b/climatecritters/model_critters/roessler.py @@ -33,7 +33,8 @@ class Roessler(CCModel): References ---------- - Rössler, O. E. (1976). Phys. Lett. A, 57(5), 397–398. + Rössler, O. E., 1976: An equation for continuous chaos. *Phys. Lett. A*, + 57(5), 397–398, [doi:10.1016/0375-9601(76)90101-8](https://doi.org/10.1016/0375-9601(76)90101-8). Examples -------- diff --git a/climatecritters/model_critters/stocker2003_bipolar_seesaw.py b/climatecritters/model_critters/stocker2003_bipolar_seesaw.py index d0dff6f..22e782b 100644 --- a/climatecritters/model_critters/stocker2003_bipolar_seesaw.py +++ b/climatecritters/model_critters/stocker2003_bipolar_seesaw.py @@ -43,8 +43,9 @@ class Stocker2003BipolarSeesaw(CCModel): References ---------- - Stocker, T. F., & Johnsen, S. J. (2003). A minimum thermodynamic model - for the bipolar seesaw. Paleoceanography, 18(4), 1087. + Stocker, T. F., and S. J. Johnsen, 2003: A minimum thermodynamic model for + the bipolar seesaw. *Paleoceanography*, 18(4), 1087, + [doi:10.1029/2003PA000920](https://doi.org/10.1029/2003PA000920). Examples -------- diff --git a/climatecritters/model_critters/stommel.py b/climatecritters/model_critters/stommel.py index afa9d7e..5fc9c3a 100644 --- a/climatecritters/model_critters/stommel.py +++ b/climatecritters/model_critters/stommel.py @@ -48,7 +48,7 @@ class Stommel(CCModel): References ---------- Stommel, H. (1961). Thermohaline convection with two stable regimes of - flow. Tellus, 13(2), 224–230. + flow. *Tellus*, 13(2), 224–230. Notes ----- diff --git a/docs/figures/Lorenz63_timeseries.png b/docs/figures/Lorenz63_timeseries.png new file mode 100644 index 0000000..16ddb12 Binary files /dev/null and b/docs/figures/Lorenz63_timeseries.png differ diff --git a/docs/index.qmd b/docs/index.qmd index 2b54b56..00a1e16 100644 --- a/docs/index.qmd +++ b/docs/index.qmd @@ -35,6 +35,8 @@ ts = output.to_pyleo(var_names='x') ts.plot() ``` +![Lorenz63 x-component time series](figures/Lorenz63_timeseries.png) + ## Where to go next | | |