miranda

A modern Python utility library for climate data collection and management

https://github.com/ouranosinc/miranda

Science Score: 26.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
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.9%) to scientific vocabulary

Keywords

archiving climate collection management netcdf

Keywords from Contributors

anuclim climate-analysis climate-science icclim netcdf4 xclim raven hydrology indices ogc
Last synced: 6 months ago · JSON representation

Repository

A modern Python utility library for climate data collection and management

Basic Info
  • Host: GitHub
  • Owner: Ouranosinc
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 51.3 MB
Statistics
  • Stars: 19
  • Watchers: 5
  • Forks: 2
  • Open Issues: 18
  • Releases: 4
Topics
archiving climate collection management netcdf
Created over 6 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Security Authors Zenodo

README.rst

==============
Miranda |logo|
==============

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

Python utilities for climate data collection, conversion, and management.

* Free software: Apache Software License 2.0
* Documentation: https://miranda.readthedocs.io.

Features
--------

Data collection functions for climate and forecast data hosted at:
    * ECMWF (Europe) (ERA5, ERA5-Land, TIGGE)
    * ECCC (Canada) (Monthly Climate Summaries, ECCC GEOAPI) (In development)
    * NCAR (CORDEX-NA on AWS)

Data conversion for `Climate and Forecasting (CF) `_ Variable and Metadata compliance:
    * ECMWF (Europe) (ERA5, ERA5-Land, TIGGE) (In Development)
    * ECCC (Canada) (Flat File Observations, Monthly Climate Summaries, Adjusted and Homogenized Climate Data, ECCC GEOAPI) (In Development)
    * MELCC (Québec)
    * Hydro-Québec (In Development)

Database structuring and facets validation:
    * Simulations:
       * WCRP (CMIP5, CMIP6, CMIP5-CORDEX, CORDEX-ADJUST, ISIMIP, etc.)
    * Station-Observations:
       * MELCC (Québec) (Needs `mdbtools `_ installed)
       * ECCC (Canada) (In Development)
       * Hydro-Québec (In Development)
    * Gridded-Observations:
       * NRCAN (Canada) (In Development)
       * MELCC (Québec) (In Development)
    * Reanalyses:
       * ECCC (Canada) (CanSWE, CaSR, RDRS)
       * ECMWF (Europe) (ERA5, ERA5-Land, TIGGE)
       * NASA (DayMET, NEX-GDDP) (In Development)
       * USask (Canada) (EMDNA)

Installation
------------
`miranda` can be installed from PyPI::

    $ pip install miranda

Some functionalities require complex-to-install dependencies.
In order to gain access to them, we strongly suggest using `Anaconda `_ to manage your environment::

    $ conda env create -f environment.yml
    $ conda activate miranda
    $ pip install miranda[full]

For more information about Anaconda/Miniconda/conda-forge:
 * Miniconda: https://docs.conda.io/en/latest/miniconda.html
 * conda-forge: https://conda-forge.org/#about

`miranda` also relies on `PyESSV `_ for its climate data controlled vocabulary.
This library is optional for users who do not require validation checks,
but enabling this feature requires additional installation steps::

    $ mkdir -p ~/.esdoc
    $ git clone git@github.com:ES-DOC/pyessv-archive.git ~/.esdoc/pyessv-archive

Contributing
------------
See the contributing documentation: https://miranda.readthedocs.io/en/latest/contributing.html

Credits
-------

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

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

.. |build| image:: https://github.com/Ouranosinc/miranda/actions/workflows/main.yml/badge.svg
        :target: https://github.com/Ouranosinc/miranda/actions
        :alt: Build Status

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

.. |coveralls| image:: https://coveralls.io/repos/github/Ouranosinc/miranda/badge.svg
        :target: https://coveralls.io/github/Ouranosinc/miranda
        :alt: Coveralls

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

.. |license| image:: https://img.shields.io/github/license/Ouranosinc/miranda.svg
        :target: https://github.com/Ouranosinc/miranda/blob/main/LICENSE
        :alt: License

..
    .. |ossf-bp| image:: https://bestpractices.coreinfrastructure.org/projects/9945/badge
            :target: https://bestpractices.coreinfrastructure.org/projects/9945
            :alt: Open Source Security Foundation Best Practices

.. |ossf-score| image:: https://api.securityscorecards.dev/projects/github.com/Ouranosinc/miranda/badge
        :target: https://securityscorecards.dev/viewer/?uri=github.com/Ouranosinc/miranda
        :alt: OpenSSF Scorecard

.. |logo| image:: https://raw.githubusercontent.com/Ouranosinc/miranda/main/docs/_static/images/miranda-logo-small.png
        :target: https://github.com/Ouranosinc/miranda
        :alt: Miranda

.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/Ouranosinc/miranda/main.svg
        :target: https://results.pre-commit.ci/latest/github/Ouranosinc/miranda/main
        :alt: pre-commit.ci status

.. |pypi| image:: https://img.shields.io/pypi/v/miranda.svg
        :target: https://pypi.python.org/pypi/miranda
        :alt: PyPI

.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
        :target: https://github.com/astral-sh/ruff
        :alt: Ruff

.. |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.

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

Owner

  • Name: Ouranos inc.
  • Login: Ouranosinc
  • Kind: organization
  • Location: Canada

Consortium on regional climatology

GitHub Events

Total
  • Create event: 66
  • Release event: 1
  • Issues event: 3
  • Watch event: 3
  • Delete event: 58
  • Issue comment event: 52
  • Push event: 241
  • Pull request review comment event: 29
  • Pull request event: 106
  • Pull request review event: 79
Last Year
  • Create event: 66
  • Release event: 1
  • Issues event: 3
  • Watch event: 3
  • Delete event: 58
  • Issue comment event: 52
  • Push event: 241
  • Pull request review comment event: 29
  • Pull request event: 106
  • Pull request review event: 79

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 1,431
  • Total Committers: 11
  • Avg Commits per committer: 130.091
  • Development Distribution Score (DDS): 0.305
Past Year
  • Commits: 259
  • Committers: 7
  • Avg Commits per committer: 37.0
  • Development Distribution Score (DDS): 0.668
Top Committers
Name Email Commits
Zeitsperre 1****e 995
pre-commit-ci[bot] 6****] 124
tlogan2000 l****s@o****a 123
dependabot[bot] 4****] 60
bumpversion[bot] b****]@o****a 36
Asli Bese a****e@d****a 34
juliettelavoie j****e@h****a 27
Pascal Bourgault b****l@o****a 25
RondeauG r****l@o****a 3
Asli Bese 1****e 2
David Huard h****d@o****a 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 36
  • Total pull requests: 315
  • Average time to close issues: 8 months
  • Average time to close pull requests: 16 days
  • Total issue authors: 7
  • Total pull request authors: 9
  • Average comments per issue: 2.44
  • Average comments per pull request: 0.51
  • Merged pull requests: 255
  • Bot issues: 2
  • Bot pull requests: 193
Past Year
  • Issues: 3
  • Pull requests: 128
  • Average time to close issues: about 2 hours
  • Average time to close pull requests: 14 days
  • Issue authors: 2
  • Pull request authors: 5
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.57
  • Merged pull requests: 82
  • Bot issues: 2
  • Bot pull requests: 93
Top Authors
Issue Authors
  • Zeitsperre (18)
  • juliettelavoie (8)
  • aulemahal (4)
  • DoMatte (2)
  • dependabot[bot] (2)
  • tlogan2000 (1)
  • RondeauG (1)
Pull Request Authors
  • dependabot[bot] (128)
  • Zeitsperre (87)
  • pre-commit-ci[bot] (65)
  • tlogan2000 (15)
  • aslibese (9)
  • aulemahal (4)
  • juliettelavoie (3)
  • RondeauG (2)
  • huard (2)
Top Labels
Issue Labels
enhancement (15) invalid (3) data bug (2) wontfix (2) bug (2) documentation (2) dependencies (2) python (2) help wanted (1) priority (1) CI (1)
Pull Request Labels
dependencies (128) CI (86) python (68) github_actions (60) enhancement (32) documentation (14) docs (14) bug (9) invalid (2)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 142 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 12
  • Total maintainers: 2
proxy.golang.org: github.com/ouranosinc/miranda
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
proxy.golang.org: github.com/Ouranosinc/miranda
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
pypi.org: miranda

Python utilities for climate data collection, conversion, and management.

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 142 Last month
Rankings
Dependent packages count: 6.6%
Stargazers count: 16.1%
Forks count: 19.6%
Average: 21.3%
Dependent repos count: 30.6%
Downloads: 33.7%
Maintainers (2)
Last synced: 6 months ago

Dependencies

.github/workflows/auto-bumpversion.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v4 composite
  • ad-m/github-push-action master composite
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/main.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • deadsnakes/action v2.1.1 composite
  • styfle/cancel-workflow-action 0.11.0 composite
.github/workflows/publish-pypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/tag-testpypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pyproject.toml pypi
  • cftime *
  • dask *
  • distributed *
  • h5netcdf *
  • netCDF4 *
  • numpy *
  • pandas *
  • pyessv *
  • pyyaml *
  • schema *
  • xarray *
  • xclim *
  • zarr *
requirements_remote.txt pypi
  • cdsapi *
  • distributed *
  • ecmwf-api-client *
  • fabric *
  • intake *
  • intake-esm *
  • numcodecs *
  • paramiko >=2.6.0
  • s3fs *
  • scp *
environment.yml conda
  • black >=23.3.0
  • bump2version
  • cdsapi
  • cftime
  • clisops >=0.9
  • coverage
  • dask
  • distributed
  • ecmwf-api-client
  • fabric
  • flake8
  • furo >=2023.07.26
  • h5netcdf
  • intake
  • intake-esm
  • ipython
  • nbsphinx
  • netcdf4
  • numba >=0.55.2
  • numcodecs
  • numpy
  • pandas
  • pandoc
  • paramiko >=2.6.0
  • pre-commit
  • pyproj
  • pytest
  • python >=3.7,<3.12
  • pyupgrade
  • pyyaml
  • regionmask
  • requests
  • s3fs
  • schema
  • scp
  • sphinx
  • sphinx-codeautolink
  • sphinx-copybutton
  • tox >=4.0
  • xarray
  • xclim >=0.33.0
  • xesmf
  • zarr