Skip to content

Commit

Permalink
Merge pull request #1146 from cal-itp/jun-open-data
Browse files Browse the repository at this point in the history
Jun open data + May rerun open data
  • Loading branch information
tiffanychu90 authored Jun 14, 2024
2 parents 320700a + 46e06ea commit efca836
Show file tree
Hide file tree
Showing 31 changed files with 313 additions and 58 deletions.
3 changes: 2 additions & 1 deletion _shared_utils/shared_utils/rt_dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"apr2024d": "2024-04-19",
"apr2024e": "2024-04-20",
"apr2024f": "2024-04-21",
"may2024": "2024-05-26",
"may2024": "2024-05-22",
"jun2024": "2024-06-12",
}

y2023_dates = [
Expand Down
11 changes: 2 additions & 9 deletions gtfs_funnel/clean_route_naming.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import pandas as pd

from segment_speed_utils import gtfs_schedule_wrangling, helpers
from update_vars import GTFS_DATA_DICT, SCHED_GCS
from shared_utils import rt_dates
from update_vars import GTFS_DATA_DICT, SCHED_GCS, all_dates

def concatenate_routes_across_dates(
analysis_date_list: list
Expand Down Expand Up @@ -45,13 +44,7 @@ def concatenate_routes_across_dates(

CLEANED_ROUTE_NAMING = GTFS_DATA_DICT.schedule_tables.route_identification

oct2023_week = rt_dates.get_week("oct2023", exclude_wed=True)
apr2023_week = rt_dates.get_week("apr2023", exclude_wed=True)
apr2024_week = rt_dates.get_week("apr2024", exclude_wed=True)

date_list = rt_dates.y2024_dates + rt_dates.y2023_dates + oct2023_week + apr2023_week + apr2024_week

df = concatenate_routes_across_dates(date_list)
df = concatenate_routes_across_dates(all_dates)

df = df.assign(
route_id2 = df.apply(
Expand Down
33 changes: 33 additions & 0 deletions gtfs_funnel/logs/download_data.log
Original file line number Diff line number Diff line change
Expand Up @@ -449,3 +449,36 @@
2024-06-07 14:31:20.637 | INFO | __main__:download_one_day:29 - # operators to run: 101
2024-06-07 14:31:20.638 | INFO | __main__:download_one_day:33 - *********** Download st data ***********
2024-06-07 14:32:37.203 | INFO | __main__:download_one_day:56 - execution time: 0:01:17.937742
2024-06-13 09:12:06.307 | INFO | __main__:download_one_day:45 - Analysis date: 2024-05-22
2024-06-13 09:12:09.125 | INFO | __main__:download_one_day:52 - # operators to run: 206
2024-06-13 09:12:09.126 | INFO | __main__:download_one_day:56 - *********** Download trips data ***********
2024-06-13 09:12:48.567 | INFO | __main__:download_one_day:86 - execution time: 0:00:42.257805
2024-06-13 09:12:48.687 | INFO | __main__:download_one_day:45 - Analysis date: 2024-06-12
2024-06-13 09:12:51.047 | INFO | __main__:download_one_day:52 - # operators to run: 209
2024-06-13 09:12:51.048 | INFO | __main__:download_one_day:56 - *********** Download trips data ***********
2024-06-13 09:13:22.796 | INFO | __main__:download_one_day:86 - execution time: 0:00:34.107922
2024-06-13 09:13:51.941 | INFO | __main__:download_one_day:22 - Analysis date: 2024-05-22
2024-06-13 09:13:54.681 | INFO | __main__:download_one_day:29 - # operators to run: 206
2024-06-13 09:13:54.688 | INFO | __main__:download_one_day:33 - *********** Download stops data ***********
2024-06-13 09:14:08.331 | INFO | __main__:download_one_day:64 - execution time: 0:00:16.387977
2024-06-13 09:14:08.390 | INFO | __main__:download_one_day:22 - Analysis date: 2024-06-12
2024-06-13 09:14:10.948 | INFO | __main__:download_one_day:29 - # operators to run: 209
2024-06-13 09:14:10.950 | INFO | __main__:download_one_day:33 - *********** Download stops data ***********
2024-06-13 09:14:22.920 | INFO | __main__:download_one_day:64 - execution time: 0:00:14.528518
2024-06-13 09:14:48.378 | INFO | __main__:download_one_day:22 - Analysis date: 2024-05-22
2024-06-13 09:14:50.748 | INFO | __main__:download_one_day:29 - # operators to run: 206
2024-06-13 09:14:50.750 | INFO | __main__:download_one_day:33 - *********** Download routelines data ***********
2024-06-13 09:17:49.030 | INFO | __main__:download_one_day:63 - execution time: 0:03:00.651934
2024-06-13 09:17:49.093 | INFO | __main__:download_one_day:22 - Analysis date: 2024-06-12
2024-06-13 09:17:52.157 | INFO | __main__:download_one_day:29 - # operators to run: 209
2024-06-13 09:17:52.159 | INFO | __main__:download_one_day:33 - *********** Download routelines data ***********
2024-06-13 09:20:26.468 | INFO | __main__:download_one_day:63 - execution time: 0:02:37.373594
2024-06-13 09:20:53.030 | INFO | __main__:download_one_day:21 - Analysis date: 2024-05-22
2024-06-13 09:20:54.808 | INFO | __main__:download_one_day:29 - # operators to run: 168
2024-06-13 09:20:54.810 | INFO | __main__:download_one_day:33 - *********** Download st data ***********
2024-06-13 09:23:42.119 | INFO | __main__:download_one_day:56 - execution time: 0:02:49.087981
2024-06-13 09:23:43.383 | INFO | __main__:download_one_day:21 - Analysis date: 2024-06-12
2024-06-13 09:23:44.847 | INFO | __main__:download_one_day:29 - # operators to run: 160
2024-06-13 09:23:44.848 | INFO | __main__:download_one_day:33 - *********** Download st data ***********
2024-06-13 09:26:13.897 | INFO | __main__:download_one_day:56 - execution time: 0:02:30.512761
2024-06-13 13:11:30.784 | INFO | __main__:download_one_year:35 - execution time: 0:00:53.236057
22 changes: 22 additions & 0 deletions gtfs_funnel/logs/download_vp_v2.log
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,25 @@
2024-06-07 14:42:16.793 | INFO | __main__:<module>:112 - export concatenated vp: 0:02:20.931262
2024-06-07 14:44:59.867 | INFO | __main__:<module>:134 - remove batched parquets
2024-06-07 14:44:59.868 | INFO | __main__:<module>:137 - execution time: 0:05:10.913123
2024-06-13 09:26:44.350 | INFO | __main__:<module>:148 - Analysis date: 2024-05-22
2024-06-13 09:30:31.365 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 0 to GCS: 0:03:46.995520
2024-06-13 09:32:17.346 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 1 to GCS: 0:01:45.979988
2024-06-13 09:38:37.429 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 2 to GCS: 0:06:20.081360
2024-06-13 09:41:47.274 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 3 to GCS: 0:03:09.844294
2024-06-13 09:41:47.276 | INFO | __main__:<module>:155 - execution time: 0:15:02.906447
2024-06-13 09:41:47.277 | INFO | __main__:<module>:148 - Analysis date: 2024-06-12
2024-06-13 09:45:26.653 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 0 to GCS: 0:03:39.374391
2024-06-13 09:47:10.361 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 1 to GCS: 0:01:43.706029
2024-06-13 09:53:06.055 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 2 to GCS: 0:05:55.693181
2024-06-13 09:56:26.453 | INFO | __main__:loop_through_batches_and_download_vp:111 - exported batch 3 to GCS: 0:03:20.396674
2024-06-13 09:56:26.454 | INFO | __main__:<module>:155 - execution time: 0:14:39.175731
2024-06-13 09:56:51.776 | INFO | __main__:<module>:97 - Analysis date: 2024-05-22
2024-06-13 09:57:02.175 | INFO | __main__:<module>:105 - concat and filter batched data: 0:00:10.397641
2024-06-13 10:02:46.037 | INFO | __main__:<module>:112 - export concatenated vp: 0:05:43.861269
2024-06-13 10:09:13.181 | INFO | __main__:<module>:134 - remove batched parquets
2024-06-13 10:09:13.182 | INFO | __main__:<module>:137 - execution time: 0:12:21.404270
2024-06-13 10:09:17.064 | INFO | __main__:<module>:97 - Analysis date: 2024-06-12
2024-06-13 10:09:26.220 | INFO | __main__:<module>:105 - concat and filter batched data: 0:00:08.869078
2024-06-13 10:15:11.770 | INFO | __main__:<module>:112 - export concatenated vp: 0:05:45.549779
2024-06-13 10:21:14.201 | INFO | __main__:<module>:134 - remove batched parquets
2024-06-13 10:21:14.203 | INFO | __main__:<module>:137 - execution time: 0:11:56.852017
16 changes: 16 additions & 0 deletions gtfs_funnel/logs/vp_preprocessing.log
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,19 @@
2024-06-07 15:21:31.463 | INFO | __main__:<module>:203 - 2024-05-26: vp_direction script execution time: 0:06:59.209213
2024-06-07 15:26:35.339 | INFO | __main__:<module>:120 - 2024-05-26: condense vp for trip 0:04:19.568954
2024-06-07 15:39:05.313 | INFO | __main__:<module>:128 - 2024-05-26: prepare vp to use in nearest neighbor: 0:12:29.973212
2024-06-13 10:41:25.425 | INFO | __main__:<module>:169 - 2024-05-22: pare down vp: 0:04:38.813097
2024-06-13 10:46:22.821 | INFO | __main__:<module>:169 - 2024-06-12: pare down vp: 0:04:57.373357
2024-06-13 10:54:35.144 | INFO | __main__:attach_prior_vp_add_direction:90 - persist vp gddf: 0:07:31.005835
2024-06-13 11:01:43.024 | INFO | __main__:attach_prior_vp_add_direction:122 - np vectorize arrays for direction: 0:07:07.880797
2024-06-13 11:01:52.406 | INFO | __main__:<module>:194 - 2024-05-22: export vp direction: 0:14:48.267740
2024-06-13 11:03:53.346 | INFO | __main__:<module>:200 - 2024-05-22: export usable vp with direction: 0:02:00.940177
2024-06-13 11:03:53.347 | INFO | __main__:<module>:203 - 2024-05-22: vp_direction script execution time: 0:16:49.207917
2024-06-13 11:09:56.963 | INFO | __main__:attach_prior_vp_add_direction:90 - persist vp gddf: 0:06:03.614117
2024-06-13 11:17:10.284 | INFO | __main__:attach_prior_vp_add_direction:122 - np vectorize arrays for direction: 0:07:13.321036
2024-06-13 11:17:19.799 | INFO | __main__:<module>:194 - 2024-06-12: export vp direction: 0:13:26.450853
2024-06-13 11:19:43.695 | INFO | __main__:<module>:200 - 2024-06-12: export usable vp with direction: 0:02:23.896001
2024-06-13 11:19:43.696 | INFO | __main__:<module>:203 - 2024-06-12: vp_direction script execution time: 0:15:50.346854
2024-06-13 11:31:05.105 | INFO | __main__:<module>:120 - 2024-05-22: condense vp for trip 0:10:17.584441
2024-06-13 12:01:37.765 | INFO | __main__:<module>:128 - 2024-05-22: prepare vp to use in nearest neighbor: 0:30:32.660164
2024-06-13 12:11:04.264 | INFO | __main__:<module>:120 - 2024-06-12: condense vp for trip 0:09:26.495703
2024-06-13 12:41:46.329 | INFO | __main__:<module>:128 - 2024-06-12: prepare vp to use in nearest neighbor: 0:30:42.065768
6 changes: 4 additions & 2 deletions gtfs_funnel/update_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
rt_dates.oct2023_week + rt_dates.apr2023_week +
rt_dates.apr2024_week
)
may_date = [rt_dates.DATES["may2024"]]
analysis_date_list = may_date

apr_week = rt_dates.get_week("apr2024", exclude_wed=True)

analysis_date_list = [rt_dates.DATES["jun2024"]]

GTFS_DATA_DICT = catalog_utils.get_catalog("gtfs_analytics_data")

Expand Down
16 changes: 16 additions & 0 deletions high_quality_transit_areas/logs/hqta_processing.log
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,19 @@
2024-06-07 16:02:42.337 | INFO | __main__:<module>:163 - C3_create_bus_hqta_types 2024-05-26 execution time: 0:00:16.144903
2024-06-07 16:03:25.052 | INFO | __main__:<module>:296 - D1_assemble_hqta_points 2024-05-26 execution time: 0:00:20.105690
2024-06-07 16:04:04.859 | INFO | __main__:<module>:167 - D2_assemble_hqta_polygons 2024-05-26 execution time: 0:00:16.899794
2024-06-13 10:52:06.307 | INFO | __main__:<module>:354 - A1_rail_ferry_brt_stops 2024-05-22 execution time: 0:02:22.756503
2024-06-13 12:58:01.749 | INFO | __main__:<module>:249 - B1_create_hqta_segments execution time: 0:13:52.098231
2024-06-13 13:00:11.575 | INFO | __main__:<module>:256 - B2_sjoin_stops_to_segments 2024-05-22 execution time: 0:01:32.770484
2024-06-13 13:00:50.204 | INFO | __main__:<module>:142 - C1_prep_pairwise_intersections 2024-05-22 execution time: 0:00:10.587615
2024-06-13 13:01:58.938 | INFO | __main__:<module>:125 - C2_find_intersections 2024-05-22 execution time: 0:00:42.017435
2024-06-13 13:03:04.167 | INFO | __main__:<module>:163 - C3_create_bus_hqta_types 2024-05-22 execution time: 0:00:38.066749
2024-06-13 13:04:13.581 | INFO | __main__:<module>:296 - D1_assemble_hqta_points 2024-05-22 execution time: 0:00:33.857546
2024-06-13 13:05:21.917 | INFO | __main__:<module>:167 - D2_assemble_hqta_polygons 2024-05-22 execution time: 0:00:38.362120
2024-06-13 13:08:03.561 | INFO | __main__:<module>:354 - A1_rail_ferry_brt_stops 2024-06-12 execution time: 0:01:04.260629
2024-06-13 13:17:59.981 | INFO | __main__:<module>:249 - B1_create_hqta_segments execution time: 0:09:30.012600
2024-06-13 13:19:38.445 | INFO | __main__:<module>:256 - B2_sjoin_stops_to_segments 2024-06-12 execution time: 0:01:13.144507
2024-06-13 13:20:16.756 | INFO | __main__:<module>:142 - C1_prep_pairwise_intersections 2024-06-12 execution time: 0:00:09.378312
2024-06-13 13:21:54.122 | INFO | __main__:<module>:125 - C2_find_intersections 2024-06-12 execution time: 0:01:04.703513
2024-06-13 13:23:49.518 | INFO | __main__:<module>:163 - C3_create_bus_hqta_types 2024-06-12 execution time: 0:01:10.061193
2024-06-13 13:25:40.133 | INFO | __main__:<module>:296 - D1_assemble_hqta_points 2024-06-12 execution time: 0:00:58.173453
2024-06-13 13:27:47.666 | INFO | __main__:<module>:167 - D2_assemble_hqta_polygons 2024-06-12 execution time: 0:01:16.776741
46 changes: 43 additions & 3 deletions high_quality_transit_areas/operator_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,41 @@
"""
import pandas as pd

from segment_speed_utils import helpers
from shared_utils import rt_dates
from update_vars import GCS_FILE_PATH

def get_muni_stops(analysis_date: str) -> pd.DataFrame:
"""
From our stops table, grab Muni stop_ids and
stop_names.
If stop_id ever changes, maybe we can match
on stop_names.
"""
muni_feed = helpers.import_scheduled_trips(
analysis_date,
columns = ["feed_key"],
filters = [[("name", "==", "Bay Area 511 Muni Schedule")]],
get_pandas = True
).feed_key.iloc[0]

stops = helpers.import_scheduled_stops(
analysis_date,
columns = ["stop_id", "stop_name"],
filters = [[("feed_key", "==", muni_feed)]],
get_pandas = True
)

return stops

if __name__ == "__main__":
FILE = "SFMTA_muni_high_quality_transit_stops_2024-02-01.csv"

sfmta_date = "2024-02-01"
analysis_date = rt_dates.DATES["feb2024"]

all_muni_stops = get_muni_stops(analysis_date)

FILE = f"SFMTA_muni_high_quality_transit_stops_{sfmta_date}.csv"

muni_stops = (
pd.read_csv(f"{GCS_FILE_PATH}operator_input/{FILE}",
Expand All @@ -22,9 +53,18 @@
.rename(columns={"bs_id": "stop_id"})
)

muni_stops.to_parquet(
muni_stops_with_names = pd.merge(
muni_stops,
all_muni_stops,
on = "stop_id",
how = "inner"
)

muni_stops_with_names.to_parquet(
f"{GCS_FILE_PATH}operator_input/"
f"muni_brt_stops.parquet"
)

print(f"saved muni stops")

print(f"saved muni stops")

2 changes: 1 addition & 1 deletion high_quality_transit_areas/update_vars.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from shared_utils import rt_dates

analysis_date = rt_dates.DATES["may2024"]
analysis_date = rt_dates.DATES["jun2024"]

GCS_FILE_PATH = ("gs://calitp-analytics-data/data-analyses/"
"high_quality_transit_areas/")
Expand Down
2 changes: 1 addition & 1 deletion open_data/metadata.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions open_data/update_vars.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pathlib import Path
from shared_utils import rt_dates

analysis_date = rt_dates.DATES["may2024"]
analysis_date = rt_dates.DATES["jun2024"]

GCS_FILE_PATH = "gs://calitp-analytics-data/data-analyses/"
COMPILED_CACHED_VIEWS = f"{GCS_FILE_PATH}rt_delay/compiled_cached_views/"
Expand All @@ -16,8 +16,8 @@
DATA_DICT_YML = Path("data_dictionary.yml")

RUN_ME = [
"ca_hq_transit_areas",
"ca_hq_transit_stops",
#"ca_hq_transit_areas",
#"ca_hq_transit_stops",
"ca_transit_routes",
"ca_transit_stops",
"speeds_by_stop_segments",
Expand Down
4 changes: 2 additions & 2 deletions open_data/xml/ca_transit_routes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ns0:hierarchyLevelName>
<ns0:contact ns1:nilReason="missing"></ns0:contact>
<ns0:dateStamp>
<ns1:Date>2024-04-18</ns1:Date>
<ns1:Date>2024-06-14</ns1:Date>
</ns0:dateStamp>
<ns0:metadataStandardName>
<ns1:CharacterString>ISO 19139 Geographic Information - Metadata - Implementation Specification</ns1:CharacterString>
Expand Down Expand Up @@ -85,7 +85,7 @@
<ns0:date>
<ns0:CI_Date>
<ns0:date>
<ns1:Date>2024-04-17</ns1:Date>
<ns1:Date>2024-06-12</ns1:Date>
</ns0:date>
<ns0:dateType>
<ns0:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="ISOTC211/19115">
Expand Down
4 changes: 2 additions & 2 deletions open_data/xml/ca_transit_stops.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ns0:hierarchyLevelName>
<ns0:contact ns1:nilReason="missing"></ns0:contact>
<ns0:dateStamp>
<ns1:Date>2024-04-18</ns1:Date>
<ns1:Date>2024-06-14</ns1:Date>
</ns0:dateStamp>
<ns0:metadataStandardName>
<ns1:CharacterString>ISO 19139 Geographic Information - Metadata - Implementation Specification</ns1:CharacterString>
Expand Down Expand Up @@ -85,7 +85,7 @@
<ns0:date>
<ns0:CI_Date>
<ns0:date>
<ns1:Date>2024-04-17</ns1:Date>
<ns1:Date>2024-06-12</ns1:Date>
</ns0:date>
<ns0:dateType>
<ns0:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="ISOTC211/19115">
Expand Down
4 changes: 2 additions & 2 deletions open_data/xml/speeds_by_route_time_of_day.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ns0:hierarchyLevelName>
<ns0:contact ns1:nilReason="missing"></ns0:contact>
<ns0:dateStamp>
<ns1:Date>2024-04-18</ns1:Date>
<ns1:Date>2024-06-14</ns1:Date>
</ns0:dateStamp>
<ns0:metadataStandardName>
<ns1:CharacterString>ISO 19139 Geographic Information - Metadata - Implementation Specification</ns1:CharacterString>
Expand Down Expand Up @@ -85,7 +85,7 @@
<ns0:date>
<ns0:CI_Date>
<ns0:date>
<ns1:Date>2024-04-17</ns1:Date>
<ns1:Date>2024-06-12</ns1:Date>
</ns0:date>
<ns0:dateType>
<ns0:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="ISOTC211/19115">
Expand Down
4 changes: 2 additions & 2 deletions open_data/xml/speeds_by_stop_segments.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ns0:hierarchyLevelName>
<ns0:contact ns1:nilReason="missing"></ns0:contact>
<ns0:dateStamp>
<ns1:Date>2024-04-18</ns1:Date>
<ns1:Date>2024-06-14</ns1:Date>
</ns0:dateStamp>
<ns0:metadataStandardName>
<ns1:CharacterString>ISO 19139 Geographic Information - Metadata - Implementation Specification</ns1:CharacterString>
Expand Down Expand Up @@ -85,7 +85,7 @@
<ns0:date>
<ns0:CI_Date>
<ns0:date>
<ns1:Date>2024-04-17</ns1:Date>
<ns1:Date>2024-06-12</ns1:Date>
</ns0:date>
<ns0:dateType>
<ns0:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="ISOTC211/19115">
Expand Down
2 changes: 2 additions & 0 deletions rt_scheduled_v_ran/logs/rt_v_scheduled_route_metrics.log
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@
2024-06-10 12:36:12.460 | INFO | __main__:route_metrics:74 - route aggregation 2024-04-20: 0:00:02.152948
2024-06-10 12:36:13.969 | INFO | __main__:route_metrics:74 - route aggregation 2024-04-21: 0:00:01.505120
2024-06-10 13:45:35.950 | INFO | __main__:route_metrics:74 - route aggregation 2024-05-26: 0:00:02.558000
2024-06-13 17:43:27.638 | INFO | __main__:route_metrics:74 - route aggregation 2024-05-22: 0:00:03.033399
2024-06-13 18:22:48.882 | INFO | __main__:route_metrics:74 - route aggregation 2024-06-12: 0:00:02.676141
4 changes: 4 additions & 0 deletions rt_scheduled_v_ran/logs/rt_v_scheduled_trip_metrics.log
Original file line number Diff line number Diff line change
Expand Up @@ -440,3 +440,7 @@
2024-06-10 13:30:14.345 | INFO | __main__:rt_schedule_trip_metrics:280 - tabular trip metrics 2024-05-26: 0:01:46.456157
2024-06-10 13:44:14.896 | INFO | __main__:rt_schedule_trip_metrics:285 - spatial trip metrics 2024-05-26: 0:14:00.551124
2024-06-10 13:45:11.832 | INFO | __main__:rt_schedule_trip_metrics:333 - Total run time for metrics on 2024-05-26: 0:16:43.942828
2024-06-13 16:42:18.210 | INFO | __main__:rt_schedule_trip_metrics:280 - tabular trip metrics 2024-05-22: 0:03:52.508461
2024-06-13 17:16:24.597 | INFO | __main__:rt_schedule_trip_metrics:285 - spatial trip metrics 2024-05-22: 0:34:06.386767
2024-06-13 17:18:34.697 | INFO | __main__:rt_schedule_trip_metrics:333 - Total run time for metrics on 2024-05-22: 0:40:08.995180
2024-06-13 18:00:39.971 | INFO | __main__:rt_schedule_trip_metrics:280 - tabular trip metrics 2024-06-12: 0:02:50.176180
6 changes: 4 additions & 2 deletions rt_scheduled_v_ran/scripts/update_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
oct2023_week = rt_dates.get_week("oct2023", exclude_wed=True)
apr2023_week = rt_dates.get_week("apr2023", exclude_wed=True)
apr2024_week = rt_dates.get_week("apr2024", exclude_wed=True)
may_date = [rt_dates.DATES["may2024"]]
analysis_date_list = may_date

analysis_date_list = [
rt_dates.DATES["jun2024"]
]

GTFS_DATA_DICT = catalog_utils.get_catalog("gtfs_analytics_data")

Expand Down
Loading

0 comments on commit efca836

Please sign in to comment.