py-cordex

cordex python tools

https://github.com/euro-cordex/py-cordex

Science Score: 54.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.9%) to scientific vocabulary

Keywords

cordex geoscience
Last synced: 6 months ago · JSON representation ·

Repository

cordex python tools

Basic Info
Statistics
  • Stars: 22
  • Watchers: 1
  • Forks: 5
  • Open Issues: 21
  • Releases: 23
Topics
cordex geoscience
Created over 5 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Citation Zenodo

README.rst

py-cordex: create cordex grids and meta data
============================================

+----------------------------+-----------------------------------------------------+
| Versions                   | |pypi| |conda|                                      |
+----------------------------+-----------------------------------------------------+
| Documentation              | |docs| |versions| |binder|                          |
+----------------------------+-----------------------------------------------------+
| Open Source                | |license| |fair| |fossa| |zenodo|                   |
+----------------------------+-----------------------------------------------------+
| Coding Standards           | |black| |pre-commit|                                |
+----------------------------+-----------------------------------------------------+
| Development Status         | |ci| |codecov|                                      |
+----------------------------+-----------------------------------------------------+
| Funding                    | |funding|                                           |
+----------------------------+-----------------------------------------------------+

This package offers python tools for the `CORDEX `_ community and should make your work with CORDEX grids and meta data easy.
Most of the tools leverage the ``xarray`` API to create grid and coordinate informations and data of CORDEX domains in the
form of an ``xarray.Dataset`` directly from the official `CORDEX archive specifications `_.

Please have a look at the `introduction noteboook `_!

Features
--------

* Tools to manage CORDEX grids as xarray datasets.
* Includes coordinate transformations, bounds and vertices for CORDEX datasets.
* Utitlities for cmorization to make the CORDEX ensembles more consistent.

You can use this package, e.g., to easily access CORDEX grid definitions:

.. code-block:: python

    import cordex as cx

    cx.domain("EUR-11")

to create an xarray Dataset:

.. image:: https://raw.githubusercontent.com/euro-cordex/py-cordex/main/docs/eur-11_xarray.png

and make a quick plot using the accessor:

.. code-block:: python

    cx.domain("EUR-11").cx.map()

.. image:: https://raw.githubusercontent.com/euro-cordex/py-cordex/main/docs/eur-11.png

For planned features, please have a look at the `issues `_, grab one, and `contribute `_!

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

You can install py-cordex using pip or conda, e.g.

.. code-block:: console

    pip install py-cordex

or

.. code-block:: console

    conda install -c conda-forge py-cordex

Installation from source
------------------------

For instructions to install py-cordex from source, please have a look at the
`contributing guide `_.
If you want to contribute, please get in contact as early as possible, e.g.,
using `draft pull requests `_.

Credits
-------

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

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

Parts of this package have been developed within the project Pilot Lab Exascale Earth System Modelling (`PL-ExaESM `_).


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

.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/py-cordex.svg
        :target: https://anaconda.org/conda-forge/py-cordex
        :alt: Conda-forge Build Version

.. |ci| image:: https://github.com/euro-cordex/py-cordex/actions/workflows/ci.yaml/badge.svg
        :target: https://github.com/euro-cordex/py-cordex/actions/workflows/ci.yaml
        :alt: Build Status

.. |codecov| image:: https://codecov.io/gh/euro-cordex/py-cordex/branch/master/graph/badge.svg
        :target: https://codecov.io/gh/euro-cordex/py-cordex
        :alt: Covecov

.. |docs| image:: https://readthedocs.org/projects/py-cordex/badge
        :target: https://py-cordex.readthedocs.io/en/latest
        :alt: Documentation Status

.. |binder| image:: http://mybinder.org/badge_logo.svg
        :target: https://mybinder.org/v2/gh/WCRP-CORDEX/binder-sandbox/main?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Feuro-cordex%252Fpy-cordex%26urlpath%3Dlab%252Ftree%252Fpy-cordex%252Fdocs%252Fnotebooks%252Fintroduction.ipynb%26branch%3Dmain
        :alt: py-cordex examples

.. |zenodo| image:: https://zenodo.org/badge/304687410.svg
        :target: https://zenodo.org/badge/latestdoi/304687410
        :alt: DOI

.. |license| image:: https://img.shields.io/github/license/euro-cordex/py-cordex.svg
        :target: https://github.com/euro-cordex/py-cordex/blob/master/LICENSE
        :alt: License

.. |fair| image:: https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow
        :target: https://fair-software.eu
        :alt: FAIR Software Compliance

.. |fossa| image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2Feuro-cordex%2Fpy-cordex.svg?type=shield
        :target: https://app.fossa.com/projects/git%2Bgithub.com%2Feuro-cordex%2Fpy-cordex?ref=badge_shield
        :alt: FOSSA

.. |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/euro-cordex/py-cordex/master.svg
        :target: https://results.pre-commit.ci/latest/github/euro-cordex/py-cordex/master
        :alt: pre-commit.ci status

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

.. |funding| image:: https://img.shields.io/badge/Powered%20by-ExaESM-blue.svg
        :target: https://www.exaesm.de/
        :alt: Funding

Owner

  • Name: EURO-CORDEX
  • Login: euro-cordex
  • Kind: organization

Coordinated Downscaling Experiment - European Domain

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: py-cordex
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Lars
    family-names: Buntemeyer
    email: lars.buntemeyer@hereon.de
    affiliation: Helmholtz-Zentrum Hereon
    orcid: 'https://orcid.org/0000-0002-0849-2404'
  - {}
identifiers:
  - type: doi
    value: 10.5281/zenodo.6702853
    description: zenodo
repository-code: 'https://github.com/euro-cordex/py-cordex'
url: 'https://py-cordex.readthedocs.io'
abstract: >-
  py-cordex offers python tools for the CORDEX community and
  should make your work with CORDEX grids and meta data
  easy. Most of the tools leverage the xarray API to create
  grid and coordinate informations and data of CORDEX
  domains directly from the official CORDEX archive
  specifications.
keywords:
  - cordex
  - xarray
license: MIT

GitHub Events

Total
  • Create event: 46
  • Release event: 1
  • Issues event: 9
  • Watch event: 3
  • Delete event: 46
  • Issue comment event: 4
  • Push event: 84
  • Pull request review event: 2
  • Pull request event: 94
  • Fork event: 1
Last Year
  • Create event: 46
  • Release event: 1
  • Issues event: 9
  • Watch event: 3
  • Delete event: 46
  • Issue comment event: 4
  • Push event: 84
  • Pull request review event: 2
  • Pull request event: 94
  • Fork event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 356
  • Total Committers: 7
  • Avg Commits per committer: 50.857
  • Development Distribution Score (DDS): 0.239
Past Year
  • Commits: 93
  • Committers: 6
  • Avg Commits per committer: 15.5
  • Development Distribution Score (DDS): 0.57
Top Committers
Name Email Commits
Lars Buntemeyer l****r@h****e 271
Lars Buntemeyer 5****r@u****m 40
Lars Buntemeyer l****r@g****m 22
pre-commit-ci[bot] 6****]@u****m 13
Lars Buntemeyer l****r@h****e 8
fossabot b****s@f****o 1
pyup.io bot g****t@p****o 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 63
  • Total pull requests: 262
  • Average time to close issues: 7 months
  • Average time to close pull requests: 5 days
  • Total issue authors: 6
  • Total pull request authors: 6
  • Average comments per issue: 1.21
  • Average comments per pull request: 0.39
  • Merged pull requests: 228
  • Bot issues: 0
  • Bot pull requests: 132
Past Year
  • Issues: 2
  • Pull requests: 41
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 28
  • Bot issues: 0
  • Bot pull requests: 33
Top Authors
Issue Authors
  • larsbuntemeyer (62)
  • Murk89 (1)
  • alxthm (1)
  • michmcr (1)
  • christinenam (1)
  • jwohland (1)
Pull Request Authors
  • larsbuntemeyer (122)
  • pre-commit-ci[bot] (120)
  • dependabot[bot] (22)
  • pyup-bot (12)
  • fossabot (1)
  • ludwiglierhammer (1)
Top Labels
Issue Labels
enhancement (8) bug (5) wontfix (5) question (4) documentation (3)
Pull Request Labels
dependencies (22) test-build (2) github_actions (2)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 513 last-month
  • Total dependent packages: 4
    (may contain duplicates)
  • Total dependent repositories: 3
    (may contain duplicates)
  • Total versions: 34
  • Total maintainers: 1
pypi.org: py-cordex

Creation of cordex grids and meta data

  • Documentation: https://py-cordex.readthedocs.io/
  • License: MIT License Copyright (c) 2020, Lars Buntemeyer 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.
  • Latest release: 0.10.1
    published 9 months ago
  • Versions: 27
  • Dependent Packages: 3
  • Dependent Repositories: 1
  • Downloads: 513 Last month
Rankings
Dependent packages count: 2.3%
Downloads: 10.3%
Average: 13.1%
Stargazers count: 14.5%
Forks count: 16.9%
Dependent repos count: 21.7%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: py-cordex
  • Versions: 7
  • Dependent Packages: 1
  • Dependent Repositories: 2
Rankings
Dependent repos count: 20.2%
Dependent packages count: 29.0%
Average: 39.2%
Stargazers count: 51.2%
Forks count: 56.4%
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yaml actions
  • actions/checkout v3 composite
  • codecov/codecov-action v3 composite
  • mamba-org/provision-with-micromamba main composite
.github/workflows/fair-software.yaml actions
  • fair-software/howfairis-github-action 0.2.1 composite
.github/workflows/linting.yaml actions
  • actions/checkout v3 composite
  • mamba-org/provision-with-micromamba main composite
.github/workflows/publish-pypi.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pyproject.toml pypi
setup.py pypi
.binder/environment.yml conda
  • cartopy
  • cdo
  • cftime
  • matplotlib-base
  • netcdf4
  • numpy
  • pooch
  • python-cdo
  • regionmask
  • setuptools
  • xarray
  • xesmf
ci/requirements/environment.yml conda
  • cartopy
  • cdo
  • cf_xarray >=0.8.0
  • cftime
  • cmor
  • dask
  • flox
  • matplotlib-base
  • netcdf4
  • numpy
  • pint-xarray
  • pooch
  • pyproj >=3.3.0
  • pytest
  • pytest-cov
  • pytest-env
  • python-cdo
  • regionmask >=0.9.0
  • setuptools
  • xarray !=2023.9.0