-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary fix to make 23_4 and 22_2 comparable #77
Comments
Some validation checks:
|
The adjusted segment daily hourly level travel time is now in UsageView with all data in You can use it by itself like the SELECT * FROM congestion.network_segments_temp
OR with all_dates as (
select segment_id, dt, hr, tt, is_valid, num_bins from congestion.network_segments_daily
WHERE dt < '2024-02-28'
union all
select segment_id, dt, hr, tt, is_valid, num_bins from congestion.network_segments_daily_23_4)
select * From all_dates
where segment_id = 4145 and dt = '2024-08-01' and hr = 0 How its createdSee function
Caveats
Related tables for validation:
|
Issue
The congestion network congestion.network_segments is currently based on map version 22_2. However, as of 2024-02-27, ta data (here.ta) has been based on the new map version 23_4. Due to the significant changes in this new map version and the ongoing development of our aggregation method, we haven't switched to the most up-to-date version yet. This version discrepancy means that the congestion network data may no longer fully align with the HERE data, leading to potential issues in our aggregated products.
A total of 1865 segments have changed link_dir in the 23_4 version.
Implications
The mismatch between the map versions could result in less data or missing data in the following congestion network aggregated products:
congestion.network_segments_daily
congestion.network_segments_monthly
This happens because when the map version changes, certain
link_dir
values get replaced, causing outdated references in the congestion network. At the same time, the HERE data we receive might not match to the congestion network fully.Temporary Solution
Create a new table for daily network segment data using the 23_4 map version links and segments to calculate travel time. After calculating the travel time, transform these back to align with the segment definitions (length) of the 22_2 map version. This will ensure that the data remains comparable before and after 2024-02-27, despite the map version change.
The text was updated successfully, but these errors were encountered: