CUTR-at-USF / ontime-performance-calculator

An application to calculate on-time performance using archived GTFS-realtime data
Other
4 stars 2 forks source link

Timezone or DST? #25

Open alankessler opened 7 years ago

alankessler commented 7 years ago

I imported a week of captured Trimet data and ran it against the tool. The output looks like:

image

(d = scheduled_deviation/60000 to get minutes) The cluster around 60 minutes makes me suspect that there's a timezone or DST issue.

barbeau commented 7 years ago

Thanks for the report @alankessler! Off the top of my head I'm guessing that the tool doesn't check/respect the GTFS agency.txt agency_timezone field when loading the GTFS data.

FWIW, we developed the tool in the Eastern timezone, and I think the bulk of testing occurred within DST