Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
titleCMA
for hindcastYear in hindcastYearList:
   for hindcastMonth in hindcastMonthList:
       if hindcastMonth in ["01", "03", "05", "07", "08", "10", "12"]: hindcastDateEnd = "31"
       if hindcastMonth in [ "04", "06", "09", "11"]: hindcastDateEnd = "30"
       for hindcastDay in ["01" ... hindcastDateEnd ]:
            hindcastDate = hindcastYear+hindcastMonth+hindcastDay
            retrieve_data(hindcastDate,"2014-05-01","babj")

...