Skip to content
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

Handle dual access grids (full implementation) #955

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

trevorgerhardt
Copy link
Member

@trevorgerhardt trevorgerhardt commented Feb 17, 2025

Create and write dual accessibility grids utilizing the same grid format as regular accessibility grids. A new dualAccessibilityThresholds parameter is required along with includeTemporalDensity set to true.

Changes:

  • Switch to use a thresholds array instead of a single threshold in AnalysisWorkerTasks.
  • Check that only a single grid is being created (they currently would have the same filename)
  • Create a MultiGridResultWriter for dual access grids. Store dual access results in accessibilityValues in RegionalWorkResult.
  • Ensure the worker version is >= v7.4.
  • Switch getRegionalResults to take threshold as a parameter instead of cutoff.
  • Requires https://github.com/conveyal/ui/pull/2065
Screenshot 2025-03-08 at 7 12 24 PM

@trevorgerhardt trevorgerhardt marked this pull request as ready for review February 17, 2025 16:40
@trevorgerhardt trevorgerhardt force-pushed the full-grid-dual-access branch 2 times, most recently from 8f5ab96 to ad4e9fa Compare March 3, 2025 14:50
Base automatically changed from refactor-results-writers to dev March 3, 2025 19:49
- Switch to use a thresholds array instead of a single threshold in `AnalysisWorkerTask`s.
- Check that only a single grid is being created (they currently would have the same filename)
- Create a `MultiGridResultWriter` for dual access grids. Store dual access results in `accessibilityValues` in `RegionalWorkResult`.
Handle `threshold` taken as the query parameter and when to check for `cutoffsMinutes` vs `dualAccessibilityThresholds`.
@trevorgerhardt trevorgerhardt force-pushed the full-grid-dual-access branch from c7a9ef7 to 8e5586d Compare March 4, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant