Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • david.m.giles/aos_maap_dps
  • sshah/aos_maap_dps
  • dschuck/aos_maap_dps
3 results
Show changes
Commits on Source (4)
algorithm_description: Run AOS Tracking paper plots on DPS
algorithm_name: aos_maap_dps
algorithm_version: main
build_command: ''
disk_space: 20GB
docker_container_url: mas.maap-project.org/david.m.giles/aos_test/aos_dps:develop
inputs:
config: []
file: []
positional:
- default: ''
description: ''
name: analysis_date
required: false
queue: maap-dps-sandbox
repository_url: https://repo.maap-project.org/sshah/aos_maap_dps.git
run_command: aos_maap_dps/run.sh
\ No newline at end of file
#!/bin/bash
set -euo pipefail
# Install maap-py so we can use MAAP Secrets in run.sh
conda run --no-capture-output --name mytobac python -m pip install maap-py
#!/bin/bash
readarray -d " " -t credentials <<<"$(
python -c '
from maap.maap import MAAP
maap = MAAP()
username = maap.secrets.get_secret("EARTHDATA_USERNAME")
password = maap.secrets.get_secret("EARTHDATA_PASSWORD")
print(username, password)
'
)"
EARTHDATA_USERNAME=$(echo -e "${credentials[0]}" | tr -d '[:space:]')
EARTHDATA_PASSWORD=$(echo -e "${credentials[1]}" | tr -d '[:space:]')
export EARTHDATA_USERNAME
export EARTHDATA_PASSWORD
outputdir="${PWD}/output"
analysis_date=$1
conda run --no-capture-output --name mytobac python /root/aos_test/src/Tracking_Paper_Plots-Lorenzo-aws.py "${analysis_date}"