Open LeeMendelowitz opened 9 years ago
The issue is the Metro API is giving this outage with an invalid station code:
{u'DateOutOfServ': u'2015-10-06T06:43:00',
u'DateUpdated': u'2015-10-06T06:53:46',
u'DisplayOrder': 0.0,
u'LocationDescription': u'Escalator - Level 2 to Metro Station',
u'StationCode': u'T81',
u'StationName': None,
u'SymptomCode': None,
u'SymptomDescription': u'Major Repair',
u'TimeOutOfService': u'0643',
u'UnitName': u'T81E02',
u'UnitStatus': None,
u'UnitType': u'ESCALATOR'}
I e-mailed api-support@wmata.com. I wonder if 'T81' is the Silver Spring Transit Center.
Pushed temporary fix to branch issue_33
This exception is being thrown when parsing outage data. Perhaps WMATA is providing malformed data about a station.
We should better handle bad quality data coming from WMATA API.