Skip to content

Instantly share code, notes, and snippets.

@emilecantin
Created September 27, 2017 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emilecantin/4a70c199824bb9ca5dcfae4feb8d3bb5 to your computer and use it in GitHub Desktop.
Save emilecantin/4a70c199824bb9ca5dcfae4feb8d3bb5 to your computer and use it in GitHub Desktop.
mkdir `date "+%Y-%m-%d"`
cd `date "+%Y-%m-%d"`
curl http://tgftp.nws.noaa.gov/fax/PYAA12.TIF > 1-surfacemap.tif
sips -r 90 1-surfacemap.tif
curl http://tgftp.nws.noaa.gov/fax/PPAE10.TIF > 2-24h_forecast.tif
curl http://tgftp.nws.noaa.gov/fax/QDTM10.TIF > 3-48h_forecast.tif
curl http://tgftp.nws.noaa.gov/fax/PWAM99.TIF > 4-96h_forecast.tif
curl http://tgftp.nws.noaa.gov/fax/PWEK11.TIF > 5-tropical_storms.tif
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment