Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected mistake found during course

...

Code Block
languagepy
dates = nil
loop dtfc in datesfs
    d = grib_get_long(fsfc, 'validityDate')
    t = grib_get_long(fsfc, 'validityTime')
    dt = date(d) + hour(t/100)
    dates = dates & [dt]
end loop
print(dates)

...