A library for lossy compression of netCDF files using xarray
Project description
Large Data Comparison for Python
ldcpy is a utility for gathering and plotting metrics from NetCDF or Zarr files using the Pangeo stack. It also contains a number of statistical and visual tools for gathering metrics and comparing Earth System Model data files.
- AUTHORS:
Alex Pinard, Allison Baker, Dorit Hammerling
- COPYRIGHT:
2020 University Corporation for Atmospheric Research
- LICENSE:
Apache 2.0
Documentation and usage examples are available here.
Installation using Conda (recommended)
Ensure conda is up to date and create a clean Python (3.6+) environment:
conda update conda
conda create --name ldcpy python=3.8
conda activate ldcpy
Now install ldcpy:
conda install -c conda-forge ldcpy
Alternative Installation
Ensure pip is up to date, and your version of python is at least 3.6:
pip install --upgrade pip
python --version
Install cartopy using the instructions provided at https://scitools.org.uk/cartopy/docs/latest/installing.html.
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.
Source Distribution
Built Distribution
File details
Details for the file ldcpy-0.10.tar.gz
.
File metadata
- Download URL: ldcpy-0.10.tar.gz
- Upload date:
- Size: 104.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dcfa1791dcaa5628a39831498a775b7420d5ccfcde991f2d964fcfb2462e862 |
|
MD5 | 0e7e5b9289f9b1ddfe6f12aad34d0816 |
|
BLAKE2b-256 | f26cccdc75e79d4b1b57b73a91b9d466370e1146dcee53effbdd5156fd68c417 |
File details
Details for the file ldcpy-0.10-py3-none-any.whl
.
File metadata
- Download URL: ldcpy-0.10-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fb7b65beda55f35c0a53d6186692bbea939867cd001abcda52ce56c869e0da |
|
MD5 | d289e3e6861ab6f1a92c1bfd31080111 |
|
BLAKE2b-256 | c21d2352961888f869fa31f701d09c6926478759f9388f1ecc7f4c54a37efb5b |