climlab


Nameclimlab JSON
Version 0.8.2 PyPI version JSON
download
home_pagehttp://github.com/climlab/climlab
SummaryPackage for process-oriented climate modeling
upload_time2023-11-29 15:25:48
maintainer
docs_urlNone
authorBrian E. J. Rose
requires_python
licenseMIT
keywords climate modeling modelling model ebm radiation radiative-convective earth
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            =======
climlab
=======

|docs| |JOSS| |DOI| |pypi| |Build Status| |coverage|

-----------------------------------------------------
 Python package for process-oriented climate modeling
-----------------------------------------------------

Author
------
| **Brian E. J. Rose**
| Department of Atmospheric and Environmental Sciences
| University at Albany
| brose@albany.edu


About climlab
--------------
``climlab`` is a flexible engine for process-oriented climate modeling.
It is based on a very general concept of a model as a collection of individual,
interacting processes. ``climlab`` defines a base class called ``Process``, which
can contain an arbitrarily complex tree of sub-processes (each also some
sub-class of ``Process``). Every climate process (radiative, dynamical,
physical, turbulent, convective, chemical, etc.) can be simulated as a stand-alone
process model given appropriate input, or as a sub-process of a more complex model.
New classes of model can easily be defined and run interactively by putting together an
appropriate collection of sub-processes.

Currently, ``climlab`` has out-of-the-box support and documented examples for

- Radiative and radiative-convective column models, with various radiation schemes:
    - RRTMG (a widely used radiative transfer code)
    - CAM3  (from the NCAR GCM)
    - Grey Gas
    - Simplified band-averaged models (4 bands each in longwave and shortwave)
- Convection schemes:
    - Emanuel moist convection scheme
    - Hard convective adjustment (to constant lapse rate or to moist adiabat)
- 1D Advection-Diffusion solvers
- Moist and dry Energy Balance Models
- Flexible insolation including:
  - Seasonal and annual-mean models
  - Arbitrary orbital parameters
- Boundary layer scheme including sensible and latent heat fluxes
- Arbitrary combinations of the above, for example:
    - 2D latitude-pressure models with radiation, horizontally-varying meridional diffusion, and fixed relative humidity


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

Installing pre-built binaries with conda (Mac OSX, Linux, and Windows)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By far the simplest and recommended way to install ``climlab`` is using conda_
(which is the wonderful package manager that comes with `Anaconda Python`_).

You can install ``climlab`` and all its dependencies with::

    conda install -c conda-forge climlab

Or (recommended) add ``conda-forge`` to your conda channels with::

    conda config --add channels conda-forge

and then simply do::

    conda install climlab

Binaries are available for OSX, Linux, and Windows.

Installing from source
~~~~~~~~~~~~~~~~~~~~~~
Consult the documentation_ for detailed instructions.

.. _conda: https://conda.io/docs/
.. _`Anaconda Python`: https://www.continuum.io/downloads
.. _`pypi repository`: https://pypi.python.org



Links
-----

-  HTML documentation: http://climlab.readthedocs.io/en/latest/intro.html
-  Issue tracker: http://github.com/climlab/climlab/issues
-  Source code: http://github.com/climlab/climlab
-  JOSS meta-paper: https://doi.org/10.21105/joss.00659


Dependencies
-----------------

These are handled automatically if you install with conda_.

Required
~~~~~~~~~~~~
- Python (currently testing on versions 3.8, 3.9, 3.10, 3.11)
- numpy
- scipy
- future
- pooch (for remote data access and caching)
- xarray (for data handling)


*climlab will still run on Python 2.7 on some systems but we are no longer supporting this*

Recommended for full functionality
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- numba >=0.43.1 (used for acceleration of some components)

*Note that there is a bug in previous numba versions that caused a hanging condition in climlab under Python 3.*


Documentation and Examples
--------------------------
Full user manual is available here_.

A rich and up-to-date collection of example usage can be found in Brian Rose's online textbook
`The Climate Laboratory`_.

Source notebooks for the `tutorials in the docs`_ can be found in the ``climlab/docs/source/courseware/`` directory of the source repo.

These are self-describing, and should run out-of-the-box once the package is installed, e.g:

``jupyter notebook Insolation.ipynb``


Release history
----------------------

Version 0.8.2 (released November 2023)
    New feature: process class `climlab.radiation.InstantInsolation()` which correctly interprets longitude, respects local solar time and calculates hour angle. 
    A utility function `climlab.solar.insolation.instant_insolation()` is also available, with usage mirroring the existing `climlab.solar.insolation.daily_insolation()`.
    Thanks to `@HenryDane <https://github.com/HenryDane>`_ for this contribution!

    This release also includes numerous bug fixes, updates for Python 3.11, and improvements to documentation and CI builds.

Version 0.8.1 (released May 2022)
    A major refactor of the internals: all the Fortran code has been moved into external companion
    packages `climlab-rrtmg`_, `climlab-cam3-radiation`_, and `climlab-emanuel-convection`_.
    Climlab is now (once again!) a pure Python package.
    Builds of these helper packages are available through conda-forge and will be
    automatically installed as dependencies by conda / mamba.

    The climlab source repo also moved to https://github.com/climlab/climlab

    There should be no breaking changes to the user-facing API.

    The major motivation for this change was to (vastly) simplify the development
    and testing of new-and-improved climlab internals (coming soon).

Version 0.7.13 (released February 2022)
    Maintenance release to support Python 3.10.

    The `attrdict package`_ by `Brendan Curran-Johnson`_ has been removed from the dependencies since it is broken on Python 3.10 and no longer under development.
    A modified version of the MIT-licensed attrdict source is now bundled internally with climlab. There are no changes to climlab's public API.

Version 0.7.12 (released May 2021)
    New feature: spectral output from RRTMG (accompanied by a new tutorial)

Version 0.7.11 (released May 2021)
    Improvements to data file download and caching (outsourcing this to `pooch`_)

Version 0.7.10 (released April 2021)
    Improvements to docs and build.

Version 0.7.9 (released December 2020)
    Bug fixes and doc improvements.

Version 0.7.8 (released December 2020)
    Bug fixes.

Version 0.7.7 (released October 2020)
    Bug fixes.

Version 0.7.6 (released January 2020)
    Bug fixes, Python 3.8 compatibility, improvements to build and docs.

Version 0.7.5 (released July 2019)
    Bug fixes and improvements to continuous integration

Version 0.7.4 (released June 2019)
    New flexible solver for 1D advection-diffusion processes on non-uniform grids, along with some bug fixes.

Version 0.7.3 (released April 2019)
    Bug fix and changes to continuous integration for Python 2.7 compatibility

Version 0.7.2 (released April 2019)
    Improvements to surface flux processes, a new data management strategy, and improved documentation.

    Details:
      - ``climlab.surface.LatentHeatFlux`` and ``climlab.surface.SensibleHeatFlux`` are now documented, more consistent with the climlab API, and have new optional ``resistance`` parameters to reduce the fluxes (e.g. for modeling stomatal resistance)
      - ``climlab.surface.LatentHeatFlux`` now produces the diagnostic ``evaporation`` in kg/m2/s. ``climlab.convection.EmanuelConvection`` produces ``precipitation`` in the same units.
      - The previous ``PRECIP`` diagnostic (mm/day) in ``climlab.convection.EmanuelConvection`` is removed. This is a BREAKING CHANGE.
      - Data files have been removed from the climlab source repository. All data is now accessible remotely. climlab will attempt to download and cache data files upon first use.
      - ``climlab.convection.ConvectiveAdjustement`` is now accelerated with ``numba`` if it is available (optional)

Version 0.7.1 (released January 2019)
    Deeper xarray integration, include one breaking change to ``climlab.solar.orbital.OrbitalTable``, Python 3.7 compatibility, and minor enhancements.

    Details:
      - Removed ``climlab.utils.attr_dict.AttrDict`` and replaced with AttrDict package (a new dependency)
      - Added ``xarray`` input and output capabilities for ``climlab.solar.insolation.daily_insolation()``
      - ``climlab.solar.orbital.OrbitalTable`` and ``climlab.solar.orbital.long.OrbitalTable`` now return ``xarray.Dataset`` objects containing the orbital data.
      - The ``lookup_parameter()`` method was removed in favor of using built-in xarray interpolation.
      - New class ``climlab.process.ExternalForcing()`` for arbitrary externally defined tendencies for state variables.
      - New input option ``ozone_file=None`` for radiation components, sets ozone to zero.
      - Tested on Python 3.7. Builds will be available through conda-forge.

Version 0.7.0 (released July 2018)
    New functionality, improved documentation_, and a few breaking changes to the API.

    Major new functionality includes `convective adjustment to the moist adiabat <http://climlab.readthedocs.io/en/latest/api/climlab.convection.convadj.html>`_ and `moist EBMs with diffusion on moist static energy gradients <http://climlab.readthedocs.io/en/latest/api/climlab.model.ebm.html>`_.

    Details:

    - ``climlab.convection.ConvectiveAdjustement`` now allows non-constant critical lapse rates, stored in input parameter ``adj_lapse_rate``.
        - New switches to implement automatic adjustment to **dry** and **moist** adiabats (pseudoadiabat)
    - ``climlab.EBM()`` and its daughter classes are significantly reorganized to better respect CLIMLAB principles:
        - Essentially all the computations are done by subprocesses
        - SW radiation is now handled by ``climlab.radiation.SimpleAbsorbedShortwave`` class
        - Diffusion and its diagnostics now handled by ``climlab.dynamics.MeridionalHeatDiffusion`` class.
        - Diffusivity can be altered at any time by the user, e.g. during timestepping
        - Diffusivity input value ``K`` in class ``climlab.dynamics.MeridionalDiffusion`` is now specified in physical units of m2/s instead of (1/s). This is consistent with its parent class ``climlab.dynamics.Diffusion``.
    - A new class ``climlab.dynamics.MeridionalMoistDiffusion`` for the moist EBM (diffusion down moist static energy gradient)
    - Tests that require compiled code are now marked with ``pytest.mark.compiled`` for easy exclusion during local development

    Under-the-hood changes include

    - Internal changes to the timestepping; the ``compute()`` method of every subprocess is now called explicitly.
    - ``compute()`` now always returns tendency dictionaries

Version 0.6.5 (released April 2018)
    Some improved documentation, associated with publication of a meta-description paper in JOSS.

Version 0.6.4 (released February 2018)
    Some bug fixes and a new ``climlab.couple()`` method to simplify creating complete models from components.

Version 0.6.3 (released February 2018)
    Under-the-hood improvements to the Fortran builds which enable successful builds on a wider variety of platforms (incluing Windows/Python3).

Version 0.6.2 (released February 2018)
    Introduces the Emanuel moist convection scheme, support for asynchonous coupling, and internal optimzations.

Version 0.6.1 (released January 2018)
    Provides basic integration with xarray_
    (convenience methods for converting climlab objects into ``xarray.DataArray`` and ``xarray.Dataset`` objects)

Version 0.6.0 (released December 2017)
    Provides full Python 3 compatibility, updated documentation, and minor enhancements and bug fixes.

Version 0.5.5 (released early April 2017)
    Finally provides easy binary distribution with conda_

Version 0.5.2 (released late March 2017)
    Many under-the-hood improvements to the build procedure,
    which should make it much easier to get `climlab` installed on user machines.
    Binary distribution with conda_ is coming soon!

Version 0.5 (released March 2017)
    Bug fixes and full functionality for the RRTMG radiation module,
    an improved common API for all radiation modules, and better documentation.

Version 0.4.2 (released January 2017)
    Introduces the RRTMG radiation scheme,
    a much-improved build process for the Fortran extension,
    and numerous enhancements and simplifications to the API.

Version 0.4 (released October 2016)
    Includes comprehensive documentation, an automated test suite,
    support for latitude-longitude grids, and numerous small enhancements and bug fixes.

Version 0.3 (released February 2016)
    Includes many internal changes and some backwards-incompatible changes
    (hopefully simplifications) to the public API.
    It also includes the CAM3 radiation module.

Version 0.2 (released January 2015)
    The package and its API was completely redesigned around a truly object-oriented
    modeling framework in January 2015.

    It was used extensively for a graduate-level climate modeling course in Spring 2015:
    http://www.atmos.albany.edu/facstaff/brose/classes/ATM623_Spring2015/

    Many more examples are found in the online lecture notes for that course:
    http://nbviewer.jupyter.org/github/brian-rose/ClimateModeling_courseware/blob/master/index.ipynb

Version 0.1
    The first versions of the code and notebooks were originally developed in winter / spring 2014
    in support of an undergraduate course at the University at Albany.

    See the original course webpage at
    http://www.atmos.albany.edu/facstaff/brose/classes/ENV480_Spring2014/


The documentation_ was first created by Moritz Kreuzer
(Potsdam Institut for Climate Impact Research) as part of a thesis project in Spring 2016.

.. _documentation: http://climlab.readthedocs.io
.. _xarray: http://xarray.pydata.org/en/stable/
.. _pooch: https://www.fatiando.org/pooch/latest/index.html
.. _`tutorials in the docs`: https://climlab.readthedocs.io/en/latest/tutorial.html
.. _here: http://climlab.readthedocs.io
.. _`The Climate Laboratory`: https://brian-rose.github.io/ClimateLaboratoryBook/
.. _`attrdict package`: https://github.com/bcj/AttrDict
.. _`Brendan Curran-Johnson`: https://github.com/bcj


Contact and Bug Reports
-----------------------
Users are strongly encouraged to submit bug reports and feature requests on
github at https://github.com/climlab/climlab


License
---------------
This code is freely available under the MIT license.
See the accompanying LICENSE file.

.. |JOSS| image:: http://joss.theoj.org/papers/10.21105/joss.00659/status.svg
   :target: https://doi.org/10.21105/joss.00659
.. |pypi| image:: https://badge.fury.io/py/climlab.svg
   :target: https://badge.fury.io/py/climlab
.. |Build Status| image:: https://github.com/climlab/climlab/actions/workflows/build-and-test.yml/badge.svg
    :target: https://github.com/climlab/climlab/actions/workflows/build-and-test.yml
.. |coverage| image:: https://codecov.io/github/climlab/climlab/coverage.svg?branch=main
   :target: https://codecov.io/github/climlab/climlab?branch=main
.. |DOI| image:: https://zenodo.org/badge/24968065.svg
   :target: https://zenodo.org/badge/latestdoi/24968065
.. |docs| image:: http://readthedocs.org/projects/climlab/badge/?version=latest
   :target: http://climlab.readthedocs.io/en/latest/intro.html
   :alt: Documentation Status
.. _`climlab-rrtmg`: https://github.com/climlab/climlab-rrtmg
.. _`climlab-cam3-radiation`: https://github.com/climlab/climlab-cam3-radiation
.. _`climlab-emanuel-convection`: https://github.com/climlab/climlab-emanuel-convection

=======


Support
-----------------
Development of ``climlab`` is partially supported by the National Science Foundation under award AGS-1455071 to Brian Rose.

Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/climlab/climlab",
    "name": "climlab",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "climate modeling modelling model ebm radiation radiative-convective earth",
    "author": "Brian E. J. Rose",
    "author_email": "brose@albany.edu",
    "download_url": "https://files.pythonhosted.org/packages/ec/88/b4d160900d7c646f233ad5c1464f6d1f7c28379f68e2dd00e0b19baa8969/climlab-0.8.2.tar.gz",
    "platform": null,
    "description": "=======\nclimlab\n=======\n\n|docs| |JOSS| |DOI| |pypi| |Build Status| |coverage|\n\n-----------------------------------------------------\n Python package for process-oriented climate modeling\n-----------------------------------------------------\n\nAuthor\n------\n| **Brian E. J. Rose**\n| Department of Atmospheric and Environmental Sciences\n| University at Albany\n| brose@albany.edu\n\n\nAbout climlab\n--------------\n``climlab`` is a flexible engine for process-oriented climate modeling.\nIt is based on a very general concept of a model as a collection of individual,\ninteracting processes. ``climlab`` defines a base class called ``Process``, which\ncan contain an arbitrarily complex tree of sub-processes (each also some\nsub-class of ``Process``). Every climate process (radiative, dynamical,\nphysical, turbulent, convective, chemical, etc.) can be simulated as a stand-alone\nprocess model given appropriate input, or as a sub-process of a more complex model.\nNew classes of model can easily be defined and run interactively by putting together an\nappropriate collection of sub-processes.\n\nCurrently, ``climlab`` has out-of-the-box support and documented examples for\n\n- Radiative and radiative-convective column models, with various radiation schemes:\n    - RRTMG (a widely used radiative transfer code)\n    - CAM3  (from the NCAR GCM)\n    - Grey Gas\n    - Simplified band-averaged models (4 bands each in longwave and shortwave)\n- Convection schemes:\n    - Emanuel moist convection scheme\n    - Hard convective adjustment (to constant lapse rate or to moist adiabat)\n- 1D Advection-Diffusion solvers\n- Moist and dry Energy Balance Models\n- Flexible insolation including:\n  - Seasonal and annual-mean models\n  - Arbitrary orbital parameters\n- Boundary layer scheme including sensible and latent heat fluxes\n- Arbitrary combinations of the above, for example:\n    - 2D latitude-pressure models with radiation, horizontally-varying meridional diffusion, and fixed relative humidity\n\n\nInstallation\n--------------\n\nInstalling pre-built binaries with conda (Mac OSX, Linux, and Windows)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nBy far the simplest and recommended way to install ``climlab`` is using conda_\n(which is the wonderful package manager that comes with `Anaconda Python`_).\n\nYou can install ``climlab`` and all its dependencies with::\n\n    conda install -c conda-forge climlab\n\nOr (recommended) add ``conda-forge`` to your conda channels with::\n\n    conda config --add channels conda-forge\n\nand then simply do::\n\n    conda install climlab\n\nBinaries are available for OSX, Linux, and Windows.\n\nInstalling from source\n~~~~~~~~~~~~~~~~~~~~~~\nConsult the documentation_ for detailed instructions.\n\n.. _conda: https://conda.io/docs/\n.. _`Anaconda Python`: https://www.continuum.io/downloads\n.. _`pypi repository`: https://pypi.python.org\n\n\n\nLinks\n-----\n\n-  HTML documentation: http://climlab.readthedocs.io/en/latest/intro.html\n-  Issue tracker: http://github.com/climlab/climlab/issues\n-  Source code: http://github.com/climlab/climlab\n-  JOSS meta-paper: https://doi.org/10.21105/joss.00659\n\n\nDependencies\n-----------------\n\nThese are handled automatically if you install with conda_.\n\nRequired\n~~~~~~~~~~~~\n- Python (currently testing on versions 3.8, 3.9, 3.10, 3.11)\n- numpy\n- scipy\n- future\n- pooch (for remote data access and caching)\n- xarray (for data handling)\n\n\n*climlab will still run on Python 2.7 on some systems but we are no longer supporting this*\n\nRecommended for full functionality\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n- numba >=0.43.1 (used for acceleration of some components)\n\n*Note that there is a bug in previous numba versions that caused a hanging condition in climlab under Python 3.*\n\n\nDocumentation and Examples\n--------------------------\nFull user manual is available here_.\n\nA rich and up-to-date collection of example usage can be found in Brian Rose's online textbook\n`The Climate Laboratory`_.\n\nSource notebooks for the `tutorials in the docs`_ can be found in the ``climlab/docs/source/courseware/`` directory of the source repo.\n\nThese are self-describing, and should run out-of-the-box once the package is installed, e.g:\n\n``jupyter notebook Insolation.ipynb``\n\n\nRelease history\n----------------------\n\nVersion 0.8.2 (released November 2023)\n    New feature: process class `climlab.radiation.InstantInsolation()` which correctly interprets longitude, respects local solar time and calculates hour angle. \n    A utility function `climlab.solar.insolation.instant_insolation()` is also available, with usage mirroring the existing `climlab.solar.insolation.daily_insolation()`.\n    Thanks to `@HenryDane <https://github.com/HenryDane>`_ for this contribution!\n\n    This release also includes numerous bug fixes, updates for Python 3.11, and improvements to documentation and CI builds.\n\nVersion 0.8.1 (released May 2022)\n    A major refactor of the internals: all the Fortran code has been moved into external companion\n    packages `climlab-rrtmg`_, `climlab-cam3-radiation`_, and `climlab-emanuel-convection`_.\n    Climlab is now (once again!) a pure Python package.\n    Builds of these helper packages are available through conda-forge and will be\n    automatically installed as dependencies by conda / mamba.\n\n    The climlab source repo also moved to https://github.com/climlab/climlab\n\n    There should be no breaking changes to the user-facing API.\n\n    The major motivation for this change was to (vastly) simplify the development\n    and testing of new-and-improved climlab internals (coming soon).\n\nVersion 0.7.13 (released February 2022)\n    Maintenance release to support Python 3.10.\n\n    The `attrdict package`_ by `Brendan Curran-Johnson`_ has been removed from the dependencies since it is broken on Python 3.10 and no longer under development.\n    A modified version of the MIT-licensed attrdict source is now bundled internally with climlab. There are no changes to climlab's public API.\n\nVersion 0.7.12 (released May 2021)\n    New feature: spectral output from RRTMG (accompanied by a new tutorial)\n\nVersion 0.7.11 (released May 2021)\n    Improvements to data file download and caching (outsourcing this to `pooch`_)\n\nVersion 0.7.10 (released April 2021)\n    Improvements to docs and build.\n\nVersion 0.7.9 (released December 2020)\n    Bug fixes and doc improvements.\n\nVersion 0.7.8 (released December 2020)\n    Bug fixes.\n\nVersion 0.7.7 (released October 2020)\n    Bug fixes.\n\nVersion 0.7.6 (released January 2020)\n    Bug fixes, Python 3.8 compatibility, improvements to build and docs.\n\nVersion 0.7.5 (released July 2019)\n    Bug fixes and improvements to continuous integration\n\nVersion 0.7.4 (released June 2019)\n    New flexible solver for 1D advection-diffusion processes on non-uniform grids, along with some bug fixes.\n\nVersion 0.7.3 (released April 2019)\n    Bug fix and changes to continuous integration for Python 2.7 compatibility\n\nVersion 0.7.2 (released April 2019)\n    Improvements to surface flux processes, a new data management strategy, and improved documentation.\n\n    Details:\n      - ``climlab.surface.LatentHeatFlux`` and ``climlab.surface.SensibleHeatFlux`` are now documented, more consistent with the climlab API, and have new optional ``resistance`` parameters to reduce the fluxes (e.g. for modeling stomatal resistance)\n      - ``climlab.surface.LatentHeatFlux`` now produces the diagnostic ``evaporation`` in kg/m2/s. ``climlab.convection.EmanuelConvection`` produces ``precipitation`` in the same units.\n      - The previous ``PRECIP`` diagnostic (mm/day) in ``climlab.convection.EmanuelConvection`` is removed. This is a BREAKING CHANGE.\n      - Data files have been removed from the climlab source repository. All data is now accessible remotely. climlab will attempt to download and cache data files upon first use.\n      - ``climlab.convection.ConvectiveAdjustement`` is now accelerated with ``numba`` if it is available (optional)\n\nVersion 0.7.1 (released January 2019)\n    Deeper xarray integration, include one breaking change to ``climlab.solar.orbital.OrbitalTable``, Python 3.7 compatibility, and minor enhancements.\n\n    Details:\n      - Removed ``climlab.utils.attr_dict.AttrDict`` and replaced with AttrDict package (a new dependency)\n      - Added ``xarray`` input and output capabilities for ``climlab.solar.insolation.daily_insolation()``\n      - ``climlab.solar.orbital.OrbitalTable`` and ``climlab.solar.orbital.long.OrbitalTable`` now return ``xarray.Dataset`` objects containing the orbital data.\n      - The ``lookup_parameter()`` method was removed in favor of using built-in xarray interpolation.\n      - New class ``climlab.process.ExternalForcing()`` for arbitrary externally defined tendencies for state variables.\n      - New input option ``ozone_file=None`` for radiation components, sets ozone to zero.\n      - Tested on Python 3.7. Builds will be available through conda-forge.\n\nVersion 0.7.0 (released July 2018)\n    New functionality, improved documentation_, and a few breaking changes to the API.\n\n    Major new functionality includes `convective adjustment to the moist adiabat <http://climlab.readthedocs.io/en/latest/api/climlab.convection.convadj.html>`_ and `moist EBMs with diffusion on moist static energy gradients <http://climlab.readthedocs.io/en/latest/api/climlab.model.ebm.html>`_.\n\n    Details:\n\n    - ``climlab.convection.ConvectiveAdjustement`` now allows non-constant critical lapse rates, stored in input parameter ``adj_lapse_rate``.\n        - New switches to implement automatic adjustment to **dry** and **moist** adiabats (pseudoadiabat)\n    - ``climlab.EBM()`` and its daughter classes are significantly reorganized to better respect CLIMLAB principles:\n        - Essentially all the computations are done by subprocesses\n        - SW radiation is now handled by ``climlab.radiation.SimpleAbsorbedShortwave`` class\n        - Diffusion and its diagnostics now handled by ``climlab.dynamics.MeridionalHeatDiffusion`` class.\n        - Diffusivity can be altered at any time by the user, e.g. during timestepping\n        - Diffusivity input value ``K`` in class ``climlab.dynamics.MeridionalDiffusion`` is now specified in physical units of m2/s instead of (1/s). This is consistent with its parent class ``climlab.dynamics.Diffusion``.\n    - A new class ``climlab.dynamics.MeridionalMoistDiffusion`` for the moist EBM (diffusion down moist static energy gradient)\n    - Tests that require compiled code are now marked with ``pytest.mark.compiled`` for easy exclusion during local development\n\n    Under-the-hood changes include\n\n    - Internal changes to the timestepping; the ``compute()`` method of every subprocess is now called explicitly.\n    - ``compute()`` now always returns tendency dictionaries\n\nVersion 0.6.5 (released April 2018)\n    Some improved documentation, associated with publication of a meta-description paper in JOSS.\n\nVersion 0.6.4 (released February 2018)\n    Some bug fixes and a new ``climlab.couple()`` method to simplify creating complete models from components.\n\nVersion 0.6.3 (released February 2018)\n    Under-the-hood improvements to the Fortran builds which enable successful builds on a wider variety of platforms (incluing Windows/Python3).\n\nVersion 0.6.2 (released February 2018)\n    Introduces the Emanuel moist convection scheme, support for asynchonous coupling, and internal optimzations.\n\nVersion 0.6.1 (released January 2018)\n    Provides basic integration with xarray_\n    (convenience methods for converting climlab objects into ``xarray.DataArray`` and ``xarray.Dataset`` objects)\n\nVersion 0.6.0 (released December 2017)\n    Provides full Python 3 compatibility, updated documentation, and minor enhancements and bug fixes.\n\nVersion 0.5.5 (released early April 2017)\n    Finally provides easy binary distribution with conda_\n\nVersion 0.5.2 (released late March 2017)\n    Many under-the-hood improvements to the build procedure,\n    which should make it much easier to get `climlab` installed on user machines.\n    Binary distribution with conda_ is coming soon!\n\nVersion 0.5 (released March 2017)\n    Bug fixes and full functionality for the RRTMG radiation module,\n    an improved common API for all radiation modules, and better documentation.\n\nVersion 0.4.2 (released January 2017)\n    Introduces the RRTMG radiation scheme,\n    a much-improved build process for the Fortran extension,\n    and numerous enhancements and simplifications to the API.\n\nVersion 0.4 (released October 2016)\n    Includes comprehensive documentation, an automated test suite,\n    support for latitude-longitude grids, and numerous small enhancements and bug fixes.\n\nVersion 0.3 (released February 2016)\n    Includes many internal changes and some backwards-incompatible changes\n    (hopefully simplifications) to the public API.\n    It also includes the CAM3 radiation module.\n\nVersion 0.2 (released January 2015)\n    The package and its API was completely redesigned around a truly object-oriented\n    modeling framework in January 2015.\n\n    It was used extensively for a graduate-level climate modeling course in Spring 2015:\n    http://www.atmos.albany.edu/facstaff/brose/classes/ATM623_Spring2015/\n\n    Many more examples are found in the online lecture notes for that course:\n    http://nbviewer.jupyter.org/github/brian-rose/ClimateModeling_courseware/blob/master/index.ipynb\n\nVersion 0.1\n    The first versions of the code and notebooks were originally developed in winter / spring 2014\n    in support of an undergraduate course at the University at Albany.\n\n    See the original course webpage at\n    http://www.atmos.albany.edu/facstaff/brose/classes/ENV480_Spring2014/\n\n\nThe documentation_ was first created by Moritz Kreuzer\n(Potsdam Institut for Climate Impact Research) as part of a thesis project in Spring 2016.\n\n.. _documentation: http://climlab.readthedocs.io\n.. _xarray: http://xarray.pydata.org/en/stable/\n.. _pooch: https://www.fatiando.org/pooch/latest/index.html\n.. _`tutorials in the docs`: https://climlab.readthedocs.io/en/latest/tutorial.html\n.. _here: http://climlab.readthedocs.io\n.. _`The Climate Laboratory`: https://brian-rose.github.io/ClimateLaboratoryBook/\n.. _`attrdict package`: https://github.com/bcj/AttrDict\n.. _`Brendan Curran-Johnson`: https://github.com/bcj\n\n\nContact and Bug Reports\n-----------------------\nUsers are strongly encouraged to submit bug reports and feature requests on\ngithub at https://github.com/climlab/climlab\n\n\nLicense\n---------------\nThis code is freely available under the MIT license.\nSee the accompanying LICENSE file.\n\n.. |JOSS| image:: http://joss.theoj.org/papers/10.21105/joss.00659/status.svg\n   :target: https://doi.org/10.21105/joss.00659\n.. |pypi| image:: https://badge.fury.io/py/climlab.svg\n   :target: https://badge.fury.io/py/climlab\n.. |Build Status| image:: https://github.com/climlab/climlab/actions/workflows/build-and-test.yml/badge.svg\n    :target: https://github.com/climlab/climlab/actions/workflows/build-and-test.yml\n.. |coverage| image:: https://codecov.io/github/climlab/climlab/coverage.svg?branch=main\n   :target: https://codecov.io/github/climlab/climlab?branch=main\n.. |DOI| image:: https://zenodo.org/badge/24968065.svg\n   :target: https://zenodo.org/badge/latestdoi/24968065\n.. |docs| image:: http://readthedocs.org/projects/climlab/badge/?version=latest\n   :target: http://climlab.readthedocs.io/en/latest/intro.html\n   :alt: Documentation Status\n.. _`climlab-rrtmg`: https://github.com/climlab/climlab-rrtmg\n.. _`climlab-cam3-radiation`: https://github.com/climlab/climlab-cam3-radiation\n.. _`climlab-emanuel-convection`: https://github.com/climlab/climlab-emanuel-convection\n\n=======\n\n\nSupport\n-----------------\nDevelopment of ``climlab`` is partially supported by the National Science Foundation under award AGS-1455071 to Brian Rose.\n\nAny opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Package for process-oriented climate modeling",
    "version": "0.8.2",
    "project_urls": {
        "Homepage": "http://github.com/climlab/climlab"
    },
    "split_keywords": [
        "climate",
        "modeling",
        "modelling",
        "model",
        "ebm",
        "radiation",
        "radiative-convective",
        "earth"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ec88b4d160900d7c646f233ad5c1464f6d1f7c28379f68e2dd00e0b19baa8969",
                "md5": "02253656c0b12af495df616fa1633c66",
                "sha256": "0ddfd1a638b66bcfca40ed3e6eca0196bf5464b4e41b73fe77a6cb854360ca8c"
            },
            "downloads": -1,
            "filename": "climlab-0.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "02253656c0b12af495df616fa1633c66",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3073330,
            "upload_time": "2023-11-29T15:25:48",
            "upload_time_iso_8601": "2023-11-29T15:25:48.322254Z",
            "url": "https://files.pythonhosted.org/packages/ec/88/b4d160900d7c646f233ad5c1464f6d1f7c28379f68e2dd00e0b19baa8969/climlab-0.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-29 15:25:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "climlab",
    "github_project": "climlab",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "climlab"
}
        
Elapsed time: 8.28191s