#!/bin/tcsh

set dir = 2017100800
set day = "08"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "09"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017100900
set day = "09"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "10"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101000
set day = "10"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "11"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101100
set day = "11"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "12"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101200
set day = "12"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "13"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101300
set day = "13"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "14"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101400
set day = "14"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "15"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101500
set day = "15"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "16"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101600
set day = "16"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "17"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101700
set day = "17"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "18"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101800
set day = "18"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "19"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017101900
set day = "19"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "20"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017102000
set day = "20"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "21"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017102100
set day = "21"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "22"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end

set dir = 2017102200
set day = "22"
foreach hour ("06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
set day = "23"
foreach hour ("00" "01" "02" "03" "04" "05")
    wget --quiet --user=cansac --password=Hamburger1! ftp://ftp.dri.edu/${dir}/wrfout_d03_2017-10-${day}_${hour}:00:00
end
