Skip to main content

A library for lossy compression of netCDF files using xarray

Project description

GitHub Workflow CI Status https://img.shields.io/circleci/project/github/NCAR/ldcpy/master.svg?style=for-the-badge&logo=circleci GitHub Workflow Code Style Status https://img.shields.io/codecov/c/github/NCAR/ldcpy.svg?style=for-the-badge Documentation Status

Lossy Data Compression for Python

ldcpy is a utility for gathering and plotting metrics from NetCDF files using the Pangeo stack.

Documentation and usage examples are available here.

Installation for Users

Ensure conda and pip are up to date, and your version of python is at least 3.6:

conda update conda
pip install --upgrade pip
python --version

Create a clean conda environment:

conda create --name ldcpy python
conda activate ldcpy

Install cartopy (must install using conda):

conda install cartopy

Then install ldcpy:

pip install ldcpy

Accessing the tutorial

If you want access to the tutorial notebook, clone the repository (this will create a local repository in the current directory):

git clone https://github.com/NCAR/ldcpy.git

Start by enabling Hinterland for code completion and code hinting in Jupyter Notebook and then opening the tutorial notebook:

jupyter nbextension enable hinterland/hinterland
jupyter notebook

The tutorial notebook can be found in docs/source/notebooks/SampleNotebook.ipynb, feel free to gather your own metrics or create your own plots in this notebook!

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

ldcpy-0.3.tar.gz (91.4 MB view hashes)

Uploaded Source

Built Distribution

ldcpy-0.3-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

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