openradar / TINT

TINT Is Not TITAN. Python code for tracking objects. Specifically storm cells.
BSD 2-Clause "Simplified" License
80 stars 43 forks source link

fix function parse_grid_datetime for pyart 1.12 #37

Closed pedroaugustosmribeiro closed 4 years ago

pedroaugustosmribeiro commented 4 years ago

pyart grid object .time now returns number of seconds since a certain date/epoch (2001-01-01 00:00:00 UTC). This fix combines the epoch with the integer number of seconds for deriving the datetime object for the date and time of the grid scan

zssherman commented 4 years ago

Thanks @pedroaugustosmribeiro for submitting this! I will see why the unit tests are failing, but overall the PR looks good. I'm merge once I figure out what is going on with the CI.

zssherman commented 4 years ago

Tests passed, merging.