Date coverage in TransitLayer
does not check calendar_dates.txt comprehensively.
#301
Labels
data
Something related to input data sets (not necessarily an r5py bug)
enhancement
New feature or request
reminder
something to do one day (but not today)
validation
Specific input validation feature requests
Milestone
Related to #266
As currently written,
start_date
does a basic check for dates but does not do a comprehensive check.Note:
r5py/src/r5py/r5/transit_layer.py
Lines 36 to 47 in a2ca3e7
It is also possible to have service coverage entirely specified in
calendar_dates.txt
. According to the spec it's possible to use eithercalendar.txt
orcalendar_dates.txt
(or both) to specify valid date coverage.We should handle this by taking the minimum of the minimum of both
calendar
andcalendar_dates
dates, and the maximum of maximum of both datasets (assuming they're both there).The text was updated successfully, but these errors were encountered: