Closed ian-r-rose closed 8 months ago
30-sec flows should be summed up over 5 mins, lets say into 'Lane_1_Flow_5m'.
30-sec occupancies should be averaged over 5 mins, lets say into 'Lane_1_Occ_5m'.
Then:
Lane_1_Speed_5m = Lane_1_Flow_5m / Lane_1_Flow_5m / 600
@AzamBeg-Caltrans that's what is happening in #118. I'm also averaging the speeds as reported by the clearinghouse data, but I don't know how reliable they are, so we should feel free to ignore them in favor of your computations
@ian-r-rose I will work on the speed calculation to recreate what I believe @AzamBeg-Caltrans is looking for. Do you want me to create a new branch to work on the speed calculation or should I make changes in the 5-minute-aggregates branch?
Let's do it in a new branch @kengodleskidot
Many downstream metrics (e.g., speed) are based on five-minute aggregations of the raw VDS data. Ideally, this would include imputations, but for the time being, we want to aggregate the un-imputed raw data to 5 minutes to unblock further metric development.