xcmocean
xarray accessor for automating choosing colormaps, aimed at geosciences.
Also optional dependence on cf-xarray.
Project based on the cookiecutter science project template.
Installation:
You can pip install from PyPI:
pip install xcmocean
or install from conda-forge with
conda install -c conda-forge xcmocean
Example usage:
import xcmocean
ds.salt.cmo.contourf(x='lon', y='lat')
which would make a contourf plot of the ds.salt data using the cmocean haline colormap. More examples in the docs.
Dev installation for local work
Clone the repo:
$ git clone https://github.com/pangeo-data/xcmocean.git
In the xcmocean directory, install conda environment:
$ conda env create -f environment.yml
To also develop this package, install additional packages with:
$ conda install --file requirements-dev.txt
To then check code before committing and pushing it to github, locally run
$ pre-commit run --all-files
Metadata
Release files for xcmocean 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xcmocean-0.3.2.tar.gz | 495.9 kB | Without provenance | Details for xcmocean-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xcmocean-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for xcmocean-0.3.2-py3-none-any.whl |
Total release size: 501.8 kB
Release files / xcmocean-0.3.2.tar.gz
| Download URL | xcmocean-0.3.2.tar.gz |
|---|---|
| Size | 495.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c55e1c0fcdea469c58331c25630e50e1d5ec0311581724f3e860c1a176cef9e
|
|
BLAKE2b-256 checksum How to use checksums |
bb9d8074951c695bf6affa8a76200f4d74b3e8564dff28d8c7229f50ab6d5df6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / xcmocean-0.3.2-py3-none-any.whl
| Download URL | xcmocean-0.3.2-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37c32e805b28af171b41737796c1d38ccc690844f100e1366819e6f412e6a785
|
|
BLAKE2b-256 checksum How to use checksums |
55ad4ca7f0ba9f332eb1827ecb2d9b9b7405e52140f50015d5bba344acc249ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for xcmocean 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.