This repository is dedicated to xCDAT feature prototyping and validation. It is utilized in conjunction with the pull requests in the main repository here. Validation consists of Python scripts and Jupyter Notebooks, including comparisons of xarray
/xcdat
against a subset of CDAT functionality via cdms2
, cdutil
, and genutil
.
scripts/
stores utility scriptsvalidation/
stores validation scripts and notebooks
-
Clone this repo
git clone https://github.com/xCDAT/xcdat_test
-
Create and activate a conda environment that includes
xcdat
,cdms2
,cdutil
, andgenutil
.-
Work with the latest stable version of
xcdat
fromconda-forge
cd xcdat_test conda env create -f conda-env/test_stable.yml conda activate xcdat_test_stable
-
Work with the latest version of
xcdat
on themain
branchcd xcdat_test conda env create -f conda-env/test_dev.yml conda activate xcdat_test_dev # Clone the latest version of xcdat and install into the `xcdat_test_dev` env git clone https://github.com/xCDAT/xcdat cd xcdat python -m pip install .
-
-
Start working with the Jupyter Notebooks!
Sample PMP download data for demos
wget https://raw.githubusercontent.com/PCMDI/pcmdi_metrics/master/doc/jupyter/Demo/Demo_0_download_data.ipynb