Skip to content

Run GPCP download code #41

Run GPCP download code

Run GPCP download code #41

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/ssh-action@v0.1.7
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 >> update_log.txt
python gpcp.py -y $yr -t monthly >> update_log.txt
bash gpcp_concat.sh -y $yr