-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_onelondon.ini
executable file
·79 lines (65 loc) · 3.13 KB
/
config_onelondon.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[paths]
# IronRoad folders
ironroad_folder = \\ONELONDON.TFL.LOCAL\SHARED\London Rail Projects\12 Library\04 Timetable analysis
# IronRoad reference data
ref_naptan_folder = %(ironroad_folder)s/_reference/naptan
ref_nr_data_structure_folder = %(ironroad_folder)s/_reference/nr_data_structure
ref_stations_file = %(ironroad_folder)s/_reference/stations/210129AS_NBT20_StationList.xlsx
ref_nr_definitions_file = %(ironroad_folder)s/_reference/nr_network/NRTT_Definitions_v10.xlsx
ref_nr_line_probabilities_file = %(ironroad_folder)s/_reference/nr_network/NRLineProbabilities-{dprior}.csv
# TfL Locations
# Within each of these folders should be found databundle folders in yyyymmdd format
tfl_input_folder = %(ironroad_folder)s/_inputs/tfl/{databundle}
tfl_output_folder = %(ironroad_folder)s/_outputs/timetables/tfl/{databundle}
tfl_downloaded_file = %(tfl_input_folder)s/tfl_{databundle}.zip
tfl_extracted_file = %(tfl_input_folder)s/tfl_{databundle}.db
tfl_processed_file = %(tfl_output_folder)s/TfLTimetable_{databundle}.db
# NR Locations
# Downloaded: Full NRTT cif.gz files are downloaded to this location
# Extracted: NRTT CIF converted into an SQLite database
# Processed: All converted into PTSP format SQLite database with schedules & trips tables
nr_input_folder = %(ironroad_folder)s/_inputs/nr
nr_output_folder = %(ironroad_folder)s/_outputs/timetables/nr/{databundle}
nr_downloaded_file = %(nr_input_folder)s/cif_{date}_full.gz
nr_extracted_file = %(nr_input_folder)s/cif_{databundle}.db
nr_processed_file = %(nr_output_folder)s/NRTimetable_{databundle}.db
# Raptor logging and outputs
path_outputs_file = %(ironroad_folder)s/_outputs/raptor/ironroad-{version}-{run}_{datatype}.parquet.gzip
log_file = %(ironroad_folder)s/_outputs/raptor/ironroad-{version}-{run}_log.txt
[remote_resources]
# Remote locations for TfL and NR timetable data
tfl_api_tt_url = http://tfl.gov.uk/tfl/syndication/feeds/journey-planner-timetables.zip
nr_api_tt_url = https://datafeeds.networkrail.co.uk/ntrod/CifFileAuthenticate?type=CIF_ALL_FULL_DAILY&day=toc-full.CIF.gz
nr_mirror_url = https://networkrail.opendata.opentraintimes.com/mirror/schedule/cif/
[connections]
proxy_required = False
proxy_auth_required = False
[proxies]
#'http': 'f5proxy.onelondon.tfl.local:8080',
#'http': 'http://{auth}webproxy-dca.onelondon.tfl.local:8080'
#'http': 'webproxy-dcb.onelondon.tfl.local:8080',
#'https': 'f5proxy.onelondon.tfl.local:8080',
#'https': 'http://{auth}webproxy-dca.onelondon.tfl.local:8080'
#'https': 'webproxy-dcb.onelondon.tfl.local:8080'
[raptor]
# metres per minute
walk_speed = 80
# max seconds to wait for a departure
wait_cutoff = 3600
# generalised journey time weightings
t_invehicle = 1
t_walk = 2
t_wait = 2
# Boarding penalty: 3.5min x 60sec
n_boardings = 210
t_osi = 0
[mode_colours]
i =red
u =blue
r|u =purple
u|o =darkblue
d =teal
o =orange
o|r =darkorange
t =lightgreen
r =gray