Skip to content

Run GPCP download code #65

Run GPCP download code

Run GPCP download code #65

Workflow file for this run

name: Run GPCP download code
on:
workflow_dispatch:
schedule:
- cron: '10 2 * * 0'
jobs:
runcode:
runs-on: ubuntu-latest
steps:
- name: Run
uses: appleboy/[email protected]
with:
host: ${{secrets.HOST}}
username: ${{secrets.USER}}
key: ${{secrets.SSH_KEY}}
passphrase: ${{secrets.PASSPHRASE}}
command_timeout: 30m
script: |
module use /g/data/hh5/public/modules
module load conda/analysis3
cd /g/data/ia39/aus-ref-clim-data-nci/gpcp/code
yr=$(date +'%Y')
python gpcp.py -y $yr -v v1-3 >> update_log.txt
python gpcp.py -y $yr -t monthly -v v2-3 >> update_log.txt
bash gpcp_concat.sh -y $yr -v 1-3 -f day
bash gpcp_concat.sh -y $yr -v 2-3 -f mon