Skip to main content

A library of useful colormaps when visualizing weather and climate data, with numerous color vision deficiency friendly options

Project description

# cmweather

[![CI Status](https://github.com/openradar/cmweather/actions/workflows/ci.yaml/badge.svg)](https://github.com/openradar/cmweather/actions/workflows/ci.yaml) [![code-style](https://github.com/openradar/cmweather/actions/workflows/linting.yaml/badge.svg)](https://github.com/openradar/cmweather/actions/workflows/linting.yaml) [![CodeCov](https://img.shields.io/codecov/c/github/openradar/cmweather.svg?style=for-the-badge)](https://codecov.io/gh/openradar/cmweather)[![Conda Package](https://anaconda.org/conda-forge/cmweather/badges/version.svg)](https://anaconda.org/conda-forge/cmweather)

## Motivation

The motivation for this package is to contain weather maps relevant to the weather and climate community. There are many colormaps that are unique to the weather/climate community that are not included in core libraries such as [matplotlib](https://matplotlib.org/). This is also meant to be a community collaboration, across multiple domain-specific packages (ex. MetPy, GeoCAT, Py-ART). It is lightweight, easy to install, and we encourage contributions from across the community!

While not all of the colormaps are color vision deficiency (CVD) friendly, we do include CVD friendly colormaps, and encourage users to use these when possible.

## Installation

cmweather can be found on both PyPI and conda-forge, installable using

`bash mamba install cmweather `

or

`bash pip install cmweather `

### Development Installation

For a development install, do the following in the repository directory:

`bash conda env update -f ci/environment.yml conda activate cmweather-dev python -m pip install -e . `

Also, please install pre-commit hooks from the root directory of the created project by running:

` pre-commit install `

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

cmweather-0.3.1.tar.gz (64.7 kB view details)

Uploaded Source

Built Distribution

cmweather-0.3.1-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file cmweather-0.3.1.tar.gz.

File metadata

  • Download URL: cmweather-0.3.1.tar.gz
  • Upload date:
  • Size: 64.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for cmweather-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d2ead39b77c95ad60329f94ad8b2bc87186b873e0b4065bb77bb47deed5964ae
MD5 65cf14ba0d471064b6a05afb3963ecad
BLAKE2b-256 8ea42e3a9bebac08f7663469cc0fb12e520bcdaa6ece39cc27afd9a37f8c07da

See more details on using hashes here.

Provenance

File details

Details for the file cmweather-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: cmweather-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for cmweather-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d41ebefd6bc1085f3558663eb9b652b7a0122620448534d972b94a38fb371586
MD5 1cdfbf63321ac6ec7d065597b182b602
BLAKE2b-256 ecbfb765b6c3d1ac9b1fe57d256f5040fc13ef5f1c36c9a183e769873f12f49f

See more details on using hashes here.

Provenance

Supported by

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