OpenSCM Two Layer Model

OpenSCM Two Layer Model: A Python implementation of the two-layer climate model - Published in JOSS (2021)

https://github.com/openscm/openscm-twolayermodel

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: wiley.com, joss.theoj.org
  • Committers with academic emails
    3 of 6 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Engineering Computer Science - 40% confidence
Last synced: 6 months ago · JSON representation

Repository

Implementations of two-layer models by Held et al. and Geoffroy et al.

Basic Info
Statistics
  • Stars: 10
  • Watchers: 5
  • Forks: 4
  • Open Issues: 5
  • Releases: 0
Created almost 6 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License

README.rst

OpenSCM Two Layer Model
=======================

+-------------------+----------------+--------------+
| Repository health |    |CI CD|     |  |Coverage|  |
+-------------------+----------------+--------------+

+---------------+--------+--------+
| Documentation | |Docs| | |JOSS| |
+---------------+--------+--------+

+------+------------------+----------------+------------------+
| PyPI |  |PyPI Install|  |     |PyPI|     |  |PyPI Version|  |
+------+------------------+----------------+------------------+

+-------+-----------------+-------------------+-----------------+
| Conda | |conda install| | |conda platforms| | |conda version| |
+-------+-----------------+-------------------+-----------------+

+-----------------+----------------+---------------+-----------+
|   Other info    | |Contributors| | |Last Commit| | |License| |
+-----------------+----------------+---------------+-----------+


Brief summary
+++++++++++++

.. sec-begin-long-description
.. sec-begin-index

OpenSCM two layer model contains implementations of the two layer radiative forcing driven models by `Held et al. `_, `Geoffroy et al. `_ and `Bloch-Johnson et al. `_

OpenSCM Two Layer Model was designed to provide a clean, modularised, extensible interface for one of the most commonly used simple climate models.
It was used in `Phase 1 of the Reduced Complexity Model Intercomparison Project `_ as a point of comparison for the other participating models.

The `FaIR model `_ implements a mathematically equivalent model (under certain assumptions) but does not provide as clear a conversion between the two-layer model and the two-timescale response as is provided here.
We hope that this implementation could interface with other simple climate models like FaIR to allow simpler exploration of the combined behaviour of interacting climate components with minimal coupling headaches.

As implemented here, the "OpenSCM Two Layer Model" interface is target at researchers and as an education tool.
Users from other fields are of course encouraged to use it if they find it helpful.

.. sec-end-index

License
-------

.. sec-begin-license

OpenSCM two layer model is free software under a BSD 3-Clause License, see
`LICENSE `_.

.. sec-end-license
.. sec-end-long-description

.. sec-begin-installation

Installation
------------

OpenSCM two layer model has only two dependencies:

.. begin-dependencies

- scmdata>=0.9
- tqdm

.. end-dependencies

OpenSCM two layer model can be installed with pip

.. code:: bash

    pip install openscm-twolayermodel

If you also want to run the example notebooks install additional
dependencies using

.. code:: bash

    pip install "openscm-twolayermodel[notebooks]"

**Coming soon** OpenSCM two layer model can also be installed with conda

.. code:: bash

    conda install -c conda-forge openscm-twolayermodel

We do not ship our tests with the packages.
If you wish to run the tests, you must install from source (or download the tests separately and run them on your installation).

Installing from source
~~~~~~~~~~~~~~~~~~~~~~

To install from source, simply clone the repository and then install it using pip e.g. ``pip install ".[dev]"``.
Having done this, the tests can be run with ``pytest tests`` or using the ``Makefile`` (``make test`` will run only the code tests, ``make checks`` will run the code tests and all other tests e.g. linting, notebooks, documentation).

.. sec-end-installation

For more details, see the `development section of the docs `_.

Documentation
-------------

Documentation can be found at our `documentation pages `_
(we are thankful to `Read the Docs `_ for hosting us).

Getting help
------------

.. sec-begin-getting-help

If you have any issues or would like to discuss a feature request, please raise them in the `OpenSCM Two Layer Model issue tracker `_.
If your issue is a feature request or a bug, please use the templates available, otherwise, simply open a normal issue.

.. sec-end-getting-help

Contributing
------------

Please see the `Development section of the docs `_.

.. sec-begin-links

.. |CI CD| image:: https://github.com/openscm/openscm-twolayermodel/workflows/OpenSCM%20Two%20Layer%20Model%20CI-CD/badge.svg
    :target: https://github.com/openscm/openscm-twolayermodel/actions?query=workflow%3A%22OpenSCM+Two+Layer+Model+CI-CD%22
.. |Coverage| image:: https://codecov.io/gh/openscm/openscm-twolayermodel/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/openscm/openscm-twolayermodel
.. |Docs| image:: https://readthedocs.org/projects/openscm-two-layer-model/badge/?version=latest
    :target: https://openscm-two-layer-model.readthedocs.io/en/latest/?badge=latest
.. |JOSS| image:: https://joss.theoj.org/papers/94a3759c9ea117499b90c56421ef4857/status.svg
    :target: https://joss.theoj.org/papers/94a3759c9ea117499b90c56421ef4857
.. |PyPI Install| image:: https://github.com/openscm/openscm-twolayermodel/workflows/Test%20PyPI%20install/badge.svg
    :target: https://github.com/openscm/openscm-twolayermodel/actions?query=workflow%3A%22Test+PyPI+install%22
.. |PyPI| image:: https://img.shields.io/pypi/pyversions/openscm-twolayermodel.svg
    :target: https://pypi.org/project/openscm-twolayermodel/
.. |PyPI Version| image:: https://img.shields.io/pypi/v/openscm-twolayermodel.svg
    :target: https://pypi.org/project/openscm-twolayermodel/
.. |conda install| image:: https://github.com/openscm/openscm-twolayermodel/workflows/Test%20conda%20install/badge.svg
    :target: https://github.com/openscm/openscm-twolayermodel/actions?query=workflow%3A%22Test+conda+install%22
.. |conda platforms| image:: https://img.shields.io/conda/pn/conda-forge/openscm-twolayermodel.svg
    :target: https://anaconda.org/conda-forge/openscm-twolayermodel
.. |conda version| image:: https://img.shields.io/conda/vn/conda-forge/openscm-twolayermodel.svg
    :target: https://anaconda.org/conda-forge/openscm-twolayermodel
.. |Contributors| image:: https://img.shields.io/github/contributors/openscm/openscm-twolayermodel.svg
    :target: https://github.com/openscm/openscm-twolayermodel/graphs/contributors
.. |Last Commit| image:: https://img.shields.io/github/last-commit/openscm/openscm-twolayermodel.svg
    :target: https://github.com/openscm/openscm-twolayermodel/commits/master
.. |License| image:: https://img.shields.io/github/license/openscm/openscm-twolayermodel.svg
    :target: https://github.com/openscm/openscm-twolayermodel/blob/master/LICENSE

.. sec-end-links

Owner

  • Name: OpenSCM
  • Login: openscm
  • Kind: organization

Building a set of open, single-interface, simple climate models

JOSS Publication

OpenSCM Two Layer Model: A Python implementation of the two-layer climate model
Published
June 15, 2021
Volume 6, Issue 62, Page 2766
Authors
Zebedee Nicholls ORCID
Australian-German Climate & Energy College, The University of Melbourne, Parkville, Victoria, Australia, School of Geography, Earth and Atmosphere Sciences, The University of Melbourne, Parkville, Victoria, Australia, Climate Resource, Northcote, Victoria, Australia
Jared Lewis ORCID
Australian-German Climate & Energy College, The University of Melbourne, Parkville, Victoria, Australia, School of Geography, Earth and Atmosphere Sciences, The University of Melbourne, Parkville, Victoria, Australia, Climate Resource, Northcote, Victoria, Australia
Editor
Leonardo Uieda ORCID
Tags
climate science temperature projections simple climate model energy balance reduced complexity climate model

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 181
  • Total Committers: 6
  • Avg Commits per committer: 30.167
  • Development Distribution Score (DDS): 0.083
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Zebedee Nicholls z****s@c****g 166
Leonardo Uieda l****a@g****m 6
Chris Smith c****p@g****m 4
Robert Gieseke r****g@w****e 3
Sadie Louise Bartholomew s****w@n****k 1
Daniel S. Katz d****z@i****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 9
  • Total pull requests: 30
  • Average time to close issues: 6 days
  • Average time to close pull requests: 10 days
  • Total issue authors: 5
  • Total pull request authors: 5
  • Average comments per issue: 1.89
  • Average comments per pull request: 0.77
  • Merged pull requests: 29
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ashiklom (3)
  • znicholls (2)
  • rgieseke (2)
  • chrisroadmap (1)
  • bwalkowiak (1)
Pull Request Authors
  • znicholls (25)
  • leouieda (3)
  • chrisroadmap (1)
  • sadielbartholomew (1)
  • danielskatz (1)
Top Labels
Issue Labels
refactoring (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 22 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 12
  • Total maintainers: 2
pypi.org: openscm-twolayermodel

Implementations of the two layer radiative forcing driven models by `Held et al. <https://journals.ametsoc.org/doi/full/10.1175/2009JCLI3466.1>`_ and `Geoffroy et al. <https://journals.ametsoc.org/doi/pdf/10.1175/JCLI-D-12-00195.1>`_

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 22 Last month
Rankings
Dependent packages count: 10.1%
Forks count: 14.2%
Average: 17.3%
Stargazers count: 18.5%
Dependent repos count: 21.6%
Downloads: 22.2%
Maintainers (2)
Last synced: 6 months ago
conda-forge.org: openscm-twolayermodel
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Average: 46.6%
Forks count: 47.7%
Dependent packages count: 51.2%
Stargazers count: 53.5%
Last synced: 6 months ago

Dependencies

.github/workflows/ci-cd-workflow.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • codecov/codecov-action v1 composite
  • pypa/gh-action-pypi-publish master composite
  • r-lib/actions/setup-pandoc v1 composite
.github/workflows/test-conda-install.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2.0.1 composite
.github/workflows/test-pypi-install.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
setup.py pypi