ES-DOC CMIP6 command line interface for managing CMIP6 documentation.
ES-DOC stands for Earth Science - Documentation. It's goal is to provide software tools and services in order to support the distribution of earth science documentation.
cmip6 is a command line interface for interacting with the es-doc CMIP6 documentation eco-system.
There is a need to support command line programs for streamlining deployments, publishing ... etc.
ES-DOC software engineers.
Note that pyenv
and
pipenv
must be installed on your
machine for the following commands to succeed.
# Set repo.
cd YOUR_WORKING_DIRECTORY
git clone https://github.com/ES-DOC/cmip6
# Set virtual environment.
cd ./cmip6
pyenv local 2.7.18
pipenv install
# Setup.
export PYESSV_ARCHIVE_HOME=$(pwd)/archives/pyessv-archive
source $(pwd)/activate
cmip6-setup
cd YOUR_WORKING_DIRECTORY
cat >> $HOME/.bashrc <<- EOM
# ----------------------------------------------------------------------
# ES-DOC - CMIP6
# ----------------------------------------------------------------------
# Set path to pyessv archive.
export PYESSV_ARCHIVE_HOME=$(pwd)/archives/pyessv-archive
# Activate CMIP6 shell.
source $(pwd)/activate
EOM
Please refer to the splash page for further information.