Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 Please follow these instructions to transition your Skylab environment to use R2D2 V3.

1. Update workflow component repositories

  • CD into $JEDI_WORKFLOW
  • Update ewok and skylab (optionally update jedi-tools and jedi-docs)
  • If using localhost, then update r2d2 and r2d2-data
  • Delete solo
    • rm -Rf solo
  • Clone r2d2-client from https://github.com/JCSDA-internal/r2d2-client

2. Create a new python virtual environment

  • CD into $WORKFLOW_ROOT
  • Remove your virtual environment
    • rm -Rf venv
  • Create a new virtual environment using the stack-python
    • python3 -m venv venv
  • Activate the new virtual environment
    • venv/bin/activate

3. Install workflow components

  • CD into $JEDI_WORKFLOW
  • CD into each codebase repo: ewok, r2d2-client, simobs
  • Run 
    • python3 -m pip install .

4. Add new environmental variables

  • export R2D2_USER="<your r2d2 username>"
  • export R2D2_API_KEY="<your r2d2 api key>"
  • If running localhost
    • export R2D2_SERVER_HOST="http://localhost"
    • export R2D2_SERVER_PORT="8080"