xsdba
Statistical correction and bias adjustment tools for xarray.
Science Score: 49.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 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords from Contributors
anuclim
climate-analysis
climate-science
icclim
netcdf4
xclim
mesh
data-profilers
datacleaner
pipeline-testing
Last synced: 7 months ago
·
JSON representation
Repository
Statistical correction and bias adjustment tools for xarray.
Basic Info
- Host: GitHub
- Owner: Ouranosinc
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://xsdba.readthedocs.io/
- Size: 56.8 MB
Statistics
- Stars: 10
- Watchers: 3
- Forks: 4
- Open Issues: 21
- Releases: 7
Created almost 2 years ago
· Last pushed 8 months ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
Authors
Zenodo
README.rst
===========================================================
xsdba: Statistical Downscaling and Bias Adjustment library
===========================================================
+----------------------------+-----------------------------------------------------+
| Versions | |pypi| |conda| |versions| |
+----------------------------+-----------------------------------------------------+
| Documentation and Support | |docs| |
+----------------------------+-----------------------------------------------------+
| Open Source | |license| |ossf-score| |zenodo| |
+----------------------------+-----------------------------------------------------+
| Coding Standards | |black| |isort| |ruff| |ossf-bp| |pre-commit| |
+----------------------------+-----------------------------------------------------+
| Development Status | |status| |build| |coveralls| |
+----------------------------+-----------------------------------------------------+
Statistical correction and bias adjustment tools for xarray.
* Free software: Apache Software License 2.0
* Documentation: https://xsdba.readthedocs.io.
Features
--------
* The `xsdba` submodule provides a collection of bias-adjustment methods meant to correct for systematic biases found in climate model simulations relative to observations.
Almost all adjustment algorithms conform to the `train` - `adjust` scheme, meaning that adjustment factors are first estimated on training data sets, then applied in a distinct step to the data to be adjusted.
Given a reference time series (`ref`), historical simulations (`hist`) and simulations to be adjusted (`sim`), any bias-adjustment method would be applied by first estimating the adjustment factors between the historical simulation and the observation series, and then applying these factors to `sim``, which could be a future simulation:
* Time grouping (months, day of year, season) can be done within bias adjustment methods.
* Properties and measures utilities can be used to assess the quality of adjustments.
Quick Install
-------------
`xsdba` can be installed from PyPI:
.. code-block:: shell
$ pip install xsdba
Documentation
-------------
The official documentation is at https://xsdba.readthedocs.io/
How to make the most of `xsdba`: `Basic Usage Examples`_ and `In-Depth Examples`_.
`xsdba` was first developed as the submodule `sdba` of `xclim`_. A `migration guide`_ is available for users of `sdba`.
.. _Basic Usage Examples: https://xsdba.readthedocs.io/en/latest/notebooks/example.html
.. _In-Depth Examples: https://xsdba.readthedocs.io/en/latest/notebooks/advanced_example.html
.. _xclim: https://xclim.readthedocs.io/
.. _migration guide: https://xsdba.readthedocs.io/en/stable/xclim_migration_guide.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
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Python Black
.. |build| image:: https://github.com/Ouranosinc/xsdba/actions/workflows/main.yml/badge.svg
:target: https://github.com/Ouranosinc/xsdba/actions
:alt: Build Status
.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/xsdba.svg
:target: https://anaconda.org/conda-forge/xsdba
:alt: Conda-forge Build Version
.. |coveralls| image:: https://coveralls.io/repos/github/Ouranosinc/xsdba/badge.svg
:target: https://coveralls.io/github/Ouranosinc/xsdba
:alt: Coveralls
.. |docs| image:: https://readthedocs.org/projects/xsdba/badge/?version=latest
:target: https://xsdba.readthedocs.io/en/latest/?version=latest
:alt: Documentation Status
.. |isort| image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
:target: https://pycqa.github.io/isort/
:alt: Isort
.. |license| image:: https://img.shields.io/github/license/Ouranosinc/xsdba.svg
:target: https://github.com/Ouranosinc/xsdba/blob/main/LICENSE
:alt: License
.. |ossf-bp| image:: https://bestpractices.coreinfrastructure.org/projects/10045/badge
:target: https://bestpractices.coreinfrastructure.org/projects/10045
:alt: Open Source Security Foundation Best Practices
.. |ossf-score| image:: https://api.securityscorecards.dev/projects/github.com/Ouranosinc/xsdba/badge
:target: https://securityscorecards.dev/viewer/?uri=github.com/Ouranosinc/xsdba
:alt: OpenSSF Scorecard
.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/Ouranosinc/xsdba/main.svg
:target: https://results.pre-commit.ci/latest/github/Ouranosinc/xsdba/main
:alt: pre-commit.ci status
.. |pypi| image:: https://img.shields.io/pypi/v/xsdba.svg
:target: https://pypi.python.org/pypi/xsdba
: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/xsdba.svg
:target: https://pypi.python.org/pypi/xsdba
:alt: Supported Python Versions
.. |zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.14983948.svg
:target: https://doi.org/10.5281/zenodo.14983948
:alt: DOI
.. |logo| image:: https://raw.githubusercontent.com/Ouranosinc/xsdba/main/docs/logos/xsdba-logo-small-light.png
:target: https://github.com/Ouranosinc/xsdba
:alt: Xsdba
:class: xsdba-logo-small no-theme
.. |logo-light| image:: https://raw.githubusercontent.com/Ouranosinc/xsdba/main/docs/logos/xsdba-logo-small-light.png
:target: https://github.com/Ouranosinc/xsdba
:alt:
:class: xclim-logo-small only-light-inline
.. |logo-dark| image:: https://raw.githubusercontent.com/Ouranosinc/xsdba/main/docs/logos/xsdba-logo-small-dark.png
:target: https://github.com/Ouranosinc/xsdba
:alt:
:class: xclim-logo-small only-dark-inline
Owner
- Name: Ouranos inc.
- Login: Ouranosinc
- Kind: organization
- Location: Canada
- Website: www.ouranos.ca
- Twitter: ouranos_cc
- Repositories: 37
- Profile: https://github.com/Ouranosinc
Consortium on regional climatology
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Éric Dupuis | e****1@u****a | 177 |
| Trevor James Smith | 1****e | 143 |
| dependabot[bot] | 4****] | 40 |
| pre-commit-ci[bot] | 6****] | 32 |
| Pascal Bourgault | b****l@o****a | 11 |
| jan | 1****r | 5 |
Committer Domains (Top 20 + Academic)
ouranos.ca: 1
umontreal.ca: 1
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 36
- Total pull requests: 229
- Average time to close issues: about 2 months
- Average time to close pull requests: 7 days
- Total issue authors: 14
- Total pull request authors: 7
- Average comments per issue: 1.97
- Average comments per pull request: 1.4
- Merged pull requests: 162
- Bot issues: 1
- Bot pull requests: 127
Past Year
- Issues: 23
- Pull requests: 214
- Average time to close issues: 24 days
- Average time to close pull requests: 6 days
- Issue authors: 9
- Pull request authors: 7
- Average comments per issue: 1.57
- Average comments per pull request: 1.37
- Merged pull requests: 147
- Bot issues: 1
- Bot pull requests: 116
Top Authors
Issue Authors
- coxipi (8)
- aulemahal (7)
- j-haacker (4)
- juliettelavoie (4)
- Zeitsperre (2)
- bweeding (2)
- DamienIrving (2)
- kckornelsen (1)
- dmitri1357 (1)
- isaldiviagonzatti (1)
- ghost (1)
- github-actions[bot] (1)
- redouanelg (1)
- dependabot[bot] (1)
- saschahofmann (1)
Pull Request Authors
- dependabot[bot] (136)
- coxipi (50)
- Zeitsperre (41)
- pre-commit-ci[bot] (23)
- juliettelavoie (7)
- aulemahal (6)
- j-haacker (4)
Top Labels
Issue Labels
bug (13)
enhancement (9)
priority (3)
documentation (2)
help wanted (2)
CI (2)
dependencies (1)
github_actions (1)
Pull Request Labels
CI (153)
dependencies (140)
python (85)
github_actions (51)
docs (45)
priority (16)
Packages
- Total packages: 1
-
Total downloads:
- pypi 5,326 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 2
pypi.org: xsdba
Statistical correction and bias adjustment tools for xarray.
- Homepage: https://xsdba.readthedocs.io/
- Documentation: https://xsdba.readthedocs.io/
- License: Apache Software License
-
Latest release: 0.5.0
published 9 months ago
Rankings
Dependent packages count: 10.6%
Average: 35.1%
Dependent repos count: 59.6%
Maintainers (2)
Last synced:
7 months ago
Dependencies
.github/workflows/bump-version.yml
actions
- actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
- actions/setup-python 39cd14951b08e74b54015e9e001cdefcf80e669f composite
- ad-m/github-push-action d91a481090679876dfc4178fef17f286781251df composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/cache-cleaner.yml
actions
- actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/dependency-review.yml
actions
- actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
- actions/dependency-review-action 0c155c5e8556a497adf53f2c18edabf945ed8e70 composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/first-pull-request.yml
actions
- actions/github-script 60a0d83039c74a4aee543508d2ffcb1c3799cdea composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/label.yml
actions
- actions/labeler 8558fd74291d67161a8a78ce36a881fa63b766a9 composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/main.yml
actions
- actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
- actions/setup-python 39cd14951b08e74b54015e9e001cdefcf80e669f composite
- mamba-org/setup-micromamba f8b8a1e23a26f60a44c853292711bacfd3eac822 composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/publish-pypi.yml
actions
- actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
- actions/setup-python 39cd14951b08e74b54015e9e001cdefcf80e669f composite
- pypa/gh-action-pypi-publish ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/scorecard.yml
actions
- actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
- actions/upload-artifact 65462800fd760344b1a7b4382951275a0abb4808 composite
- github/codeql-action/upload-sarif b611370bb5703a7efb587f9d136a52ea24c5c38c composite
- ossf/scorecard-action dc50aa9510b46c811795eb24b2f1ba02a914e534 composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/tag-testpypi.yml
actions
- actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
- actions/setup-python 39cd14951b08e74b54015e9e001cdefcf80e669f composite
- pypa/gh-action-pypi-publish ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 composite
- softprops/action-gh-release c062e08bd532815e2082a85e87e3ef29c3e6d191 composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
.github/workflows/workflow-warning.yml
actions
- peter-evans/create-or-update-comment 71345be0265236311c031f5c7866368bd1eff043 composite
- peter-evans/find-comment 3eae4d37986fb5a8592848f6a574fdf654e61f9e composite
- step-security/harden-runner 0d381219ddf674d61a7572ddd19d7941e271515c composite
CI/requirements_ci.in
pypi
- bump-my-version ==0.24.3
- flit ==3.9.0
- pip ==24.1.2
- tox ==4.16.0
CI/requirements_ci.txt
pypi
- annotated-types ==0.7.0
- bracex ==2.4
- bump-my-version ==0.24.3
- cachetools ==5.4.0
- certifi ==2024.7.4
- chardet ==5.2.0
- charset-normalizer ==3.3.2
- click ==8.1.7
- colorama ==0.4.6
- distlib ==0.3.8
- docutils ==0.20.1
- filelock ==3.15.4
- flit ==3.9.0
- flit-core ==3.9.0
- idna ==3.7
- markdown-it-py ==3.0.0
- mdurl ==0.1.2
- packaging ==24.1
- platformdirs ==4.2.2
- pluggy ==1.5.0
- prompt-toolkit ==3.0.36
- pydantic ==2.8.2
- pydantic-core ==2.20.1
- pydantic-settings ==2.3.4
- pygments ==2.18.0
- pyproject-api ==1.7.1
- python-dotenv ==1.0.1
- questionary ==2.0.1
- requests ==2.32.3
- rich ==13.7.1
- rich-click ==1.8.3
- tomli ==2.0.1
- tomli-w ==1.0.0
- tomlkit ==0.13.0
- tox ==4.16.0
- typing-extensions ==4.12.2
- urllib3 ==2.2.2
- virtualenv ==20.26.3
- wcmatch ==8.5.2
- wcwidth ==0.2.13
pyproject.toml
pypi
- typer >=0.12.3