GitHub repositories:
Related GitHub repositories:
Documentation:
R2D2 Planning Meeting Notes:
News Releases:
Table of Contents |
---|
R2D2 is a lightweight Python API and MySQL database that Skylab uses for data assimilation experiments. The current R2D2 is version 2 which uses Python MySQL Connector to execute queries directly to the remote, production MySQL database located on us-east-2 on r2d2.jcsda.org on port 3306. The new R2D2 is version 3 which uses a standardized client / server architecture using REST HTTP API calls.
Requirements:
jedi-para
or jedipara
or role-jcsda
on HPCsSteps:
role-jcsda
account. rsync
from the other HPCs. There is a script located inside jedipara's ~/bin
directory the can be used to perform the rsync. Make sure the username is yours instead of the most recent team members. If you get an ssh error, you can remove the machine from known hosts and try again. An example of the script on Discover is located at /home/jedipara/bin/rsync-ewok-static-from-orion.sh.Note: This installation process needs to be updated and combined
cd r2d2
python3 -m pip install -e .
cd server
python3 -m pip install -e .
cd r2d2-client
python3 -m pip install -e .
from generator import Generator
Generator().generate(client_output_path='/Users/eric2/jedi/jedi-bundle/r2d2-client/src/r2d2_client/r2d2_client.py')
or
Generator(selected_item='observation').generate(client_output_path='/Users/eric2/jedi/jedi-bundle/r2d2-client/src/r2d2_client/r2d2_client.py')
docker pull swaggerapi/swagger-editor
docker run -d -p 80:8080 swaggerapi/swagger-editor