A library for lossy compression of netCDF files using xarray
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.