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 (10)
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
set -euo pipefail
readarray -d " " -t credentials <<<"$(
conda run --no-capture-output --name mytobac 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
# All of the scripts below will use AOS_WORKING_DIR as the root output directory.
AOS_WORKING_DIR="${PWD}/output"
export AOS_WORKING_DIR
analysis_date=$1
conda run --no-capture-output --name mytobac python /root/aos_test/src/acquire_and_convert_calipso.py "${analysis_date}"
conda run --no-capture-output --name mytobac python /root/aos_test/src/acquire_goes.py "${analysis_date}"
conda run --no-capture-output --name mytobac python /root/aos_test/src/process_object_tracking.py "${analysis_date}"