ldcpy is a utility for gathering and plotting metrics from NetCDF files using the Pangeo stack.
Documentation and usage examples are available here.
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 ldcpyNow install ldcpy:
conda install ldcpyEnsure pip is up to date, and your version of python is at least 3.6:
pip install --upgrade pip
python --versionInstall cartopy using the instructions provided at https://scitools.org.uk/cartopy/docs/latest/installing.html.
Then install ldcpy:
pip install ldcpyIf 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.gitStart by enabling Hinterland for code completion and code hinting in Jupyter Notebook and then opening the tutorial notebook:
jupyter nbextension enable hinterland/hinterland
jupyter notebookThe 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!