# 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