| tMakefile - seaice-experiments - sea ice experiments using Granular.jl | |
| git clone git://src.adamsgaard.dk/seaice-experiments | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| tMakefile (834B) | |
| --- | |
| 1 # save earthdata credentials in ~/.netrc like described here: | |
| 2 # https://nsidc.org/support/faq/what-options-are-available-bulk-download… | |
| 3 | |
| 4 weekly_averages_north_2015.gif: weekly_averages_north_2015 | |
| 5 gm convert -quality 92 -delay 200 $</*.png -loop 0 $@ | |
| 6 | |
| 7 weekly_averages_north_2015: | |
| 8 mkdir -p $@ && cd $@ && \ | |
| 9 for week in `seq -w 1 52`; do \ | |
| 10 wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs… | |
| 11 --keep-session-cookies --no-check-certificate \ | |
| 12 --auth-no-challenge=on -r --reject \ | |
| 13 "index.html*" \ | |
| 14 -np -e robots=off \ | |
| 15 --no-directories \ | |
| 16 "https://daacdata.apps.nsidc.org/pub/DATASETS/nsidc0116_… | |
| 17 done | |
| 18 | |
| 19 clean: | |
| 20 $(RM) -r weekly_averages_north_2015 | |
| 21 $(RM) weekly_averages_north_2015.gif |