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.2.tar.gz (65.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cmweather-0.3.2.tar.gz
Algorithm Hash digest
SHA256 d374b068fcbfeed87bc511f1f77a6047ae752f4a175a852587414b615b4baa5a
MD5 69f1630847b5eef7c66c782d0c986985
BLAKE2b-256 20fd04580a6c8ce0a1d3944d3cc686300088a20de6dc2527c377ca22ffbd963f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cmweather-0.3.2-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.7

File hashes

Hashes for cmweather-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2015dc63dd516d68db95303db12fb23adee10242627e1d9370d27bed4e1fd13d
MD5 636ba4240ad4d834a7f8ced55ee9a662
BLAKE2b-256 ff44107d38f34695368caf404ef2792c5a8b2866aef08a9282d13e7dca34b43d

See more details on using hashes here.

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