Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -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
```
2 changes: 1 addition & 1 deletion climatecritters/model_critters/bistable_melcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions climatecritters/model_critters/ebm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------

Expand Down Expand Up @@ -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
--------

Expand Down
4 changes: 2 additions & 2 deletions climatecritters/model_critters/enso_recharge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand Down
4 changes: 2 additions & 2 deletions climatecritters/model_critters/g24.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand Down
11 changes: 8 additions & 3 deletions climatecritters/model_critters/lorenz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand Down Expand Up @@ -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
--------
Expand Down
3 changes: 2 additions & 1 deletion climatecritters/model_critters/roessler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand Down
5 changes: 3 additions & 2 deletions climatecritters/model_critters/stocker2003_bipolar_seesaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand Down
2 changes: 1 addition & 1 deletion climatecritters/model_critters/stommel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----
Expand Down
Binary file added docs/figures/Lorenz63_timeseries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

| | |
Expand Down
Loading