Skip to content
Snippets Groups Projects
Commit d1052113 authored by Sujen Shah's avatar Sujen Shah
Browse files

Merge branch 'call-new-scripts' into 'main'

Call new scripts

See merge request sshah/aos_maap_dps!2
parents 0a58b357 253c4eaa
No related branches found
No related tags found
Loading
......@@ -3,3 +3,5 @@ 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
wget https://www.hdfeos.org/software/h4cflib/bin/linux/v1.4/CentOS7/h4tonccf_nc4 -O "${HOME}/local/bin/h4tonccr_nc4"
#!/bin/bash
set -euo pipefail
readarray -d " " -t credentials <<<"$(
conda run --no-capture-output --name mytobac python -c '
from maap.maap import MAAP
......@@ -15,8 +17,12 @@ EARTHDATA_PASSWORD=$(echo -e "${credentials[1]}" | tr -d '[:space:]')
export EARTHDATA_USERNAME
export EARTHDATA_PASSWORD
outputdir="${PWD}/output"
# 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/Tracking_Paper_Plots-Lorenzo-aws.py "${analysis_date}"
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}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment