index-calculator


Nameindex-calculator JSON
Version 0.11.0 PyPI version JSON
download
home_page
SummaryPython index-calculator is an xclim wrapper
upload_time2023-11-20 09:43:25
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License Copyright (c) 2022, Ludwig Lierhammer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords index_calculator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            ============================================================================================
Calculate climate indicators with standardized project-specific attributes: index_calculator
============================================================================================

+----------------------------+-----------------------------------------------------+
| Versions                   | |pypi|                                              |
+----------------------------+-----------------------------------------------------+
| Documentation and Support  | |docs| |versions|                                   |
+----------------------------+-----------------------------------------------------+
| Open Source                | |license| |zenodo|                                  |
+----------------------------+-----------------------------------------------------+
| Coding Standards           | |black| |pre-commit|                                |
+----------------------------+-----------------------------------------------------+
| Development Status         | |status| |build| |coveralls|                        |
+----------------------------+-----------------------------------------------------+

Python index_calculator is an xclim wrapper to calculate climate indicators from CMORized netCDF files.

Documentation
-------------
The official documentation is at https://index-calculator.readthedocs.io/

Features
--------
* Calculate climate indices via xclim_.
* Write standardized netCDF attributes.
* Write on disk with a project-specific output file name.

Available projects
------------------
You can calculate climate indicators using index_calculator with the projects listed in the table below.

+--------------------+--------------+
| CMIP               | CMIP5, CMIP6 |
+--------------------+--------------+
| CORDEX             | CORDEX       |
+--------------------+--------------+
| Observational data | E-OBS, HYRAS |
+--------------------+--------------+
| Reanalysis data    | ERA5         |
+--------------------+--------------+

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

You can install the package directly with pip:

.. code-block:: console

     pip install index_calculator

If you want to contribute, I recommend cloning the repository and installing the package in development mode, e.g.

.. code-block:: console

    git clone https://github.com/ludwiglierhammer/index_calculator
    cd index_calculator
    pip install -e .

This will install the package but you can still edit it and you don't need the package in your :code:`PYTHONPATH`


Requirements
------------

* python3.6 or higher

* xclim

* numpy

* pandas

* xarray

* cf_xarray

* cftime

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _xclim: https://xclim.readthedocs.io/en/latest/

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage

.. |pypi| image:: https://img.shields.io/pypi/v/index_calculator.svg
        :target: https://pypi.python.org/pypi/index_calculator
        :alt: Python Package Index Build

.. |docs| image:: https://readthedocs.org/projects/index_calculator/badge/?version=latest
        :target: https://index-calculator.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status

.. |versions| image:: https://img.shields.io/pypi/pyversions/index_calculator.svg
        :target: https://pypi.python.org/pypi/index_calculator
        :alt: Supported Python Versions

.. |license| image:: https://img.shields.io/github/license/ludwiglierhammer/index_calculator.svg
        :target: https://github.com/ludwiglierhammer/index_calculator/blob/master/LICENSE
        :alt: License

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
        :target: https://github.com/psf/black
        :alt: Python Black

.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/ludwiglierhammer/index_calculator/master.svg
   :target: https://results.pre-commit.ci/latest/github/ludwiglierhammer/index_calculator/master
   :alt: pre-commit.ci status

.. |status| image:: https://www.repostatus.org/badges/latest/active.svg
        :target: https://www.repostatus.org/#active
        :alt: Project Status: Active – The project has reached a stable, usable state and is being actively developed.

.. |build| image:: https://github.com/ludwiglierhammer/index_calculator/actions/workflows/ci.yml/badge.svg
        :target: https://github.com/ludwiglierhammer/index_calculator/actions/workflows/ci.yml
        :alt: Build Status

.. |coveralls| image:: https://codecov.io/gh/ludwiglierhammer/index_calculator/branch/master/graph/badge.svg
	:target: https://codecov.io/gh/ludwiglierhammer/index_calculator
	:alt: Coveralls

.. |zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7762679.svg
        :target: https://doi.org/10.5281/zenodo.7762679
 	:alt:   DOI

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "index-calculator",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "index_calculator",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/16/fd/2bafb14be781dfe936c115f2025e54400ccd1438c88e90fa6da6366f7c54/index_calculator-0.11.0.tar.gz",
    "platform": null,
    "description": "============================================================================================\nCalculate climate indicators with standardized project-specific attributes: index_calculator\n============================================================================================\n\n+----------------------------+-----------------------------------------------------+\n| Versions                   | |pypi|                                              |\n+----------------------------+-----------------------------------------------------+\n| Documentation and Support  | |docs| |versions|                                   |\n+----------------------------+-----------------------------------------------------+\n| Open Source                | |license| |zenodo|                                  |\n+----------------------------+-----------------------------------------------------+\n| Coding Standards           | |black| |pre-commit|                                |\n+----------------------------+-----------------------------------------------------+\n| Development Status         | |status| |build| |coveralls|                        |\n+----------------------------+-----------------------------------------------------+\n\nPython index_calculator is an xclim wrapper to calculate climate indicators from CMORized netCDF files.\n\nDocumentation\n-------------\nThe official documentation is at https://index-calculator.readthedocs.io/\n\nFeatures\n--------\n* Calculate climate indices via xclim_.\n* Write standardized netCDF attributes.\n* Write on disk with a project-specific output file name.\n\nAvailable projects\n------------------\nYou can calculate climate indicators using index_calculator with the projects listed in the table below.\n\n+--------------------+--------------+\n| CMIP               | CMIP5, CMIP6 |\n+--------------------+--------------+\n| CORDEX             | CORDEX       |\n+--------------------+--------------+\n| Observational data | E-OBS, HYRAS |\n+--------------------+--------------+\n| Reanalysis data    | ERA5         |\n+--------------------+--------------+\n\nInstallation\n------------\n\nYou can install the package directly with pip:\n\n.. code-block:: console\n\n     pip install index_calculator\n\nIf you want to contribute, I recommend cloning the repository and installing the package in development mode, e.g.\n\n.. code-block:: console\n\n    git clone https://github.com/ludwiglierhammer/index_calculator\n    cd index_calculator\n    pip install -e .\n\nThis will install the package but you can still edit it and you don't need the package in your :code:`PYTHONPATH`\n\n\nRequirements\n------------\n\n* python3.6 or higher\n\n* xclim\n\n* numpy\n\n* pandas\n\n* xarray\n\n* cf_xarray\n\n* cftime\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _xclim: https://xclim.readthedocs.io/en/latest/\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n.. |pypi| image:: https://img.shields.io/pypi/v/index_calculator.svg\n        :target: https://pypi.python.org/pypi/index_calculator\n        :alt: Python Package Index Build\n\n.. |docs| image:: https://readthedocs.org/projects/index_calculator/badge/?version=latest\n        :target: https://index-calculator.readthedocs.io/en/latest/?version=latest\n        :alt: Documentation Status\n\n.. |versions| image:: https://img.shields.io/pypi/pyversions/index_calculator.svg\n        :target: https://pypi.python.org/pypi/index_calculator\n        :alt: Supported Python Versions\n\n.. |license| image:: https://img.shields.io/github/license/ludwiglierhammer/index_calculator.svg\n        :target: https://github.com/ludwiglierhammer/index_calculator/blob/master/LICENSE\n        :alt: License\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n        :target: https://github.com/psf/black\n        :alt: Python Black\n\n.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/ludwiglierhammer/index_calculator/master.svg\n   :target: https://results.pre-commit.ci/latest/github/ludwiglierhammer/index_calculator/master\n   :alt: pre-commit.ci status\n\n.. |status| image:: https://www.repostatus.org/badges/latest/active.svg\n        :target: https://www.repostatus.org/#active\n        :alt: Project Status: Active \u2013 The project has reached a stable, usable state and is being actively developed.\n\n.. |build| image:: https://github.com/ludwiglierhammer/index_calculator/actions/workflows/ci.yml/badge.svg\n        :target: https://github.com/ludwiglierhammer/index_calculator/actions/workflows/ci.yml\n        :alt: Build Status\n\n.. |coveralls| image:: https://codecov.io/gh/ludwiglierhammer/index_calculator/branch/master/graph/badge.svg\n\t:target: https://codecov.io/gh/ludwiglierhammer/index_calculator\n\t:alt: Coveralls\n\n.. |zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7762679.svg\n        :target: https://doi.org/10.5281/zenodo.7762679\n \t:alt:   DOI\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022, Ludwig Lierhammer  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Python index-calculator is an xclim wrapper",
    "version": "0.11.0",
    "project_urls": {
        "changelog": "https://index-calculator.readthedocs.io/en/latest/history.html",
        "documentation": "https://index-calculator.readthedocs.io",
        "homepage": "https://index-calculator.readthedocs.io",
        "repository": "https://github.com/ludwiglierhammer/index_calculator.git"
    },
    "split_keywords": [
        "index_calculator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17121c09abe5110f4b3f4d2dd2c6b05a0b104b899263a5b7f3b45d9bec89da58",
                "md5": "65da30181372397a4737ba7df9faa167",
                "sha256": "1b373d976a345b72bfceb84fc4e8cbd5408b702ceb8c3deb6daeb2909b1a3cfa"
            },
            "downloads": -1,
            "filename": "index_calculator-0.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "65da30181372397a4737ba7df9faa167",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 32365,
            "upload_time": "2023-11-20T09:43:23",
            "upload_time_iso_8601": "2023-11-20T09:43:23.366266Z",
            "url": "https://files.pythonhosted.org/packages/17/12/1c09abe5110f4b3f4d2dd2c6b05a0b104b899263a5b7f3b45d9bec89da58/index_calculator-0.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16fd2bafb14be781dfe936c115f2025e54400ccd1438c88e90fa6da6366f7c54",
                "md5": "05a029b6544ce21bde0c144a182449d8",
                "sha256": "7899a09447cd32324f741e09e4646169bc37f78d100011fcb8300f79518453da"
            },
            "downloads": -1,
            "filename": "index_calculator-0.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "05a029b6544ce21bde0c144a182449d8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 999719,
            "upload_time": "2023-11-20T09:43:25",
            "upload_time_iso_8601": "2023-11-20T09:43:25.895874Z",
            "url": "https://files.pythonhosted.org/packages/16/fd/2bafb14be781dfe936c115f2025e54400ccd1438c88e90fa6da6366f7c54/index_calculator-0.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-20 09:43:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ludwiglierhammer",
    "github_project": "index_calculator",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "index-calculator"
}
        
Elapsed time: 0.14384s