From bd37fe4a67b55e98c30029a8070c8befb290489d Mon Sep 17 00:00:00 2001 From: "Katrina M. Kaiser" <47205245+KatrinaMKaiser@users.noreply.github.com> Date: Tue, 29 Aug 2023 17:55:19 -0700 Subject: [PATCH] Create metrics_testing_dac_traffic.py Putting in DAC Traffic Impacts pseudo code from @hhmckay for Epic #818 , build on this after migration --- .../metrics/metrics_testing_dac_traffic.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 project_prioritization/metrics/metrics_testing_dac_traffic.py diff --git a/project_prioritization/metrics/metrics_testing_dac_traffic.py b/project_prioritization/metrics/metrics_testing_dac_traffic.py new file mode 100644 index 000000000..82048481b --- /dev/null +++ b/project_prioritization/metrics/metrics_testing_dac_traffic.py @@ -0,0 +1,19 @@ +# DAC Traffic Impacts CSIS Metric +# Pseudo Code + +# For projects in list: + # Sum AADT values across segments (i.e. peak/off-peak, HOV/non-HOV) + # Repeat for truck AADT + # Apply a weighting factor of 6 to the truck AADT + # Sum car and weighted truck AADT to get AADT value + # Repeat for both build and no-build scenarios + # Calculate the percent change in truck-weighted AADT + +# Join the build and no-build AADT data to the project spatial geometry on the project name field + +# Generate a 500 meter buffer for all project geometries + +# read in EQI Traffoc Exposure Screen + +# If the project geometry buffer DOES NOT touch an EQI Traffic Exposure Screened geography, the project score defaults to 0 +# Else If the project geometry buffer DOES touch an EQI Traffic Exposure Screened geography, the change in truck-weighted AADT is considered and a relevant score is determined.