rapid_get_weather 777 Bytes
Newer Older
das's avatar
das committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
# Get some weather forecasts
#!/bin/csh
#
# Map choices are
# - "canaries" - for the easetern boundary
# - "arc" - from EB1 to WB6
# - "Florida" - for the western boundary
# Other options are
# "azores", "biscay", ....
set mapc = 'biscay'
cd /local/users/pstar/Public/jc192_weather
set now =  `date +%Y`-`date +%m`-`date +%d`-`date +%H`
echo $now
mkdir $now
cd $now
# Whole North Atlantic Pressure 
wget https://www.passageweather.com/maps/natlantic/press/pressure.zip
# Then our chosen area
wget https://www.passageweather.com/maps/$mapc/wind/wind.zip
wget https://www.passageweather.com/maps/$mapc/waves/waves.zip

# Now organsie the plots
mkdir pressure
unzip pressure.zip
mv *.png pressure
mkdir wind
unzip wind.zip
mv *.png wind
mkdir waves
unzip waves.zip
mv *.png waves