Skip to main content

Statistical correction and bias adjustment tools for xarray.

Project description

Versions

PyPI Conda-forge Build Version Supported Python Versions

Documentation and Support

Documentation Status

Open Source

License OpenSSF Scorecard DOI

Coding Standards

Python Black Isort Ruff Open Source Security Foundation Best Practices pre-commit.ci status

Development Status

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status Coveralls

Statistical correction and bias adjustment tools for xarray.

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:

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

Credits

This package was created with Cookiecutter and the Ouranosinc/cookiecutter-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xsdba-0.4.0.tar.gz (233.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xsdba-0.4.0-py3-none-any.whl (128.1 kB view details)

Uploaded Python 3

File details

Details for the file xsdba-0.4.0.tar.gz.

File metadata

  • Download URL: xsdba-0.4.0.tar.gz
  • Upload date:
  • Size: 233.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xsdba-0.4.0.tar.gz
Algorithm Hash digest
SHA256 de23c0e72624a67ba2bb6ab6d7524341e718d61ceee19ec5d7af028a6d48e9bc
MD5 53d82fa7dd885e36620d6e574371b60a
BLAKE2b-256 7f6cc3735c09370340b017293c9fea3b05f08a2b510fee6ac93b8c3d09d52d67

See more details on using hashes here.

Provenance

The following attestation bundles were made for xsdba-0.4.0.tar.gz:

Publisher: publish-pypi.yml on Ouranosinc/xsdba

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xsdba-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: xsdba-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 128.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xsdba-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9fc39e16ce35bee129f605e4d6238cfac46c2f77c5f84c5931eaa7f35f9e0c0
MD5 41d4907a7a45f6d5423e303ad6c6a74a
BLAKE2b-256 206bee72ee3413334f25e6f3c9a503b3c034706b22306ac606f0a532f3af69ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for xsdba-0.4.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Ouranosinc/xsdba

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page