Skip to content

Commit

Permalink
refactor get_glorys_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 authored Apr 6, 2024
1 parent 671204c commit b48d05f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/get_glorys_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@ jobs:
with:
miniconda-version: "latest"

- name: Install copernicusmarine
run: |
conda env create --file tools/initial/copernicusmarine-env.yml
- name: Test get_glorts_data.sh
run: |
run: |
cd tools/initial
pwd
conda init
conda env create --file copernicusmarine-env.yml
conda activate cmc
./get_glorys_data.sh -u ${{secrets.CMCID}} -p ${{secrets.CMCPASSWD}} -o "./" -x -100 -X -35 -y 0 -Y 60 -s "1993-01-01" -e "1993-01-01"
[ ! -f "GLORYS_REANALYSIS_1993-01-01.nc" ] && echo "FATAL: GLORYS_REANALYSIS_1993-01-01.nc does not exist. Exiting." && exit 1

0 comments on commit b48d05f

Please sign in to comment.