A Docker file and collection of python scripts supporting the exploration of HEFS ensembles using FEWS within the TEEHRHub jupyterhub deployment. Part of a CIROH-supported project.
Warning! This is currently highly experimental!
- Go to
https://teehr-hub.rtiamanzi.org/hub/spawn
- Sign in with your github account (you'll need to create one if you don't have it)
- From the list, select
HEFS-FEWS Evaluation System
. ClickStart
- When JupyterHub starts, Go to Desktop
- The first time you login, open the terminal in the Desktop and run
cp /opt/hefs_fews_dashboard/dashboard.desktop .
This will create a desktop icon to start the dashboard. You should only need to do this once. - Select the RFC you wish to work with
- Specify a directory path. Data downloaded to the
/home/jovyan
directory will persist between sessions. - After downloading the configuration, click the FEWS icon to start FEWS.
Things to watch out for:
- If the remote desktop is idle for too long, you may get logged out and may need to restart TEEHRHub!
An AWS s3 bucket was created: ciroh-rti-hefs-data
. Read permissions are publicly available however you will need special credentials to write to the bucket.
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
More details on installation are provided here: AWS CLI install and update instructions
In your terminal run:
aws configure
You will see prompts like:
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]:
Enter your access key, secret access key and us-east-2
for region name. Hit enter to accept the default (None) value for output format.
Now you should have access to the s3 bucket using AWS CLI.
To list data in the s3 bucket:
aws s3 ls ciroh-rti-hefs-data
To copy a local file to the bucket:
aws s3 cp <local_filename> s3://ciroh-rti-hefs-data/<remote_filename>
To recursively copy a local directory to s3:
aws s3 cp <path to local dir> s3://ciroh-rti-hefs-data/ --recursive
To download s3 objects to local:
aws s3 cp s3://ciroh-rti-hefs-data/<remote_filename> <local_filename>
More details are listed here: AWS CLI cp Reference
- Requires github credentials
- Create a free account if you don't have one
Dashboard approach:
- Start up TEEHRHub
- Select appropriate image
- Go to Remote Desktop
- Click on "Launch" icon to launch dashboard
- Select the desired standalone
- Click
Configure Standalone
button - Double-click the FEWS desktop icon when it appears
OR, Notebook approach:
- Run the notebook
dashboard.ipynb
- Follow steps 5-7 above