File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -30,32 +30,23 @@ jobs:
3030 - name : Install esmvaltool from conda
3131 shell : bash -l {0}
3232 run : mamba install esmvaltool
33- - name : Setup config
33+ - name : Get config-user file
3434 shell : bash -l {0}
35- run : |
36- esmvaltool config get_config_user
37- patch ~/.esmvaltool/config-user.yml << EOF
38- 44c44
39- < #rootpath:
40- ---
41- > rootpath:
42- 48c48
43- < # default: ~/default_inputpath
44- ---
45- > default: ~/default_inputpath
46- EOF
35+ run : esmvaltool config get_config_user
4736 - name : Cache datasets
4837 uses : actions/cache@v1
4938 env :
5039 # Increase this value to reset cache if data/dataset.urls has not changed
5140 CACHE_NUMBER : 0
5241 with :
53- path : ~/default_inputpath
42+ path : ~/climate_data
5443 key : ${{ runner.os }}-datasets-${{ env.CACHE_NUMBER }}-${{ hashFiles('data/dataset.urls') }}
5544 - name : Download dataset files for episodes 4 and 5
45+ shell : bash -l {0}
5646 run : |
57- head -4 data/dataset.urls | grep -v '#' | wget --input-file - --no-clobber --directory-prefix $HOME/default_inputpath /
47+ head -4 data/dataset.urls | grep -v '#' | wget --input-file - --no-clobber --directory-prefix $HOME/climate_data /
5848 - name : Run all recipes in files/
49+ shell : bash -l {0}
5950 run : |
6051 mkdir ~/esmvaltool_tutorial
6152 cp files/warming_stripes.py ~/esmvaltool_tutorial/
You can’t perform that action at this time.
0 commit comments