To download RMP outputs with your Command Line Interface (CLI), you need AWS access, an AWS profile setup, and the AWS CLI installed on your machine.
When running the download commands on your CLI, you will need to know the following values:
ENVIRONMENT
- the Environment the data is being downloaded from [dev | uat | trn | prod | sandbox]RUN-ID
- the last GUID taken from the URL of an FBR or IAR run. Note that IAR and FBR have different RUN-IDs.S3-URI
: AWS output project location: s3://rmp-ENVIRONMENT-outputs/RUN-ID/FILE-LOCATION
- the location where you want the downloaded data saved to.PROFILE-NAME
- your AWS user profile
Download geospatial outputs
To download geospatial outputs, copy and paste the following in your CLI (replacing the values S3-URI
, FILE-LOCATION
and PROFILE-NAME
with your actual values before running the code):
aws s3 S3-URI FILE-LOCATION --recursive --exclude "*" --include "*.tif" --exclude "*.epsg3857.tif" --profile PROFILE-NAME
Example:
aws s3 cp s3://rmp-dev-outputs/78e8b457-5c0e-41e2-9aed-b2c0449e374e/ ./fireBehaviour --recursive --exclude "*" --include "*.tif" --exclude "*.epsg3857.tif" --profile 325453153653_AWSUser
This will download all the *.tif files used for the geospatial outputs.
You can download geospatial outputs directly from RMP, but only one at a time. Downloading with CLI allows you to download hundreds at once. For information on downloading outputs from RMP, see Download raw outputs.
Download numerical outputs
To download numerical outputs, copy and paste the following in your CLI (replacing the values S3-URI
, FILE-LOCATION
and PROFILE-NAME
with your actual values before running the code):
aws s3 S3-URI FILE-LOCATION --recursive --exclude "*" --include "*.csv" --profile PROFILE-NAME
Example:
aws s3 cp s3://rmp-dev-outputs/78e8b457-5c0e-41e2-9aed-b2c0449e374e/ ./fireBehaviour --exclude "*" --include "*.csv" --profile 325453153653_AWSUser
This will download all the *.csv files used for the numerical outputs.