Skip to content

feat: Add Visibility properties to IWeatherData (Fixes CIR-1090) - #41

Merged
victorquinn merged 1 commit into
mainfrom
daedalus/CIR-1090-add-visibility-properties
Jul 17, 2026
Merged

feat: Add Visibility properties to IWeatherData (Fixes CIR-1090)#41
victorquinn merged 1 commit into
mainfrom
daedalus/CIR-1090-add-visibility-properties

Conversation

@daedalus-wright

Copy link
Copy Markdown
Contributor

Resolves https://linear.app/texture/issue/CIR-1090/feature-add-visibility-properties-to-iweatherdata

This PR completes the triad of fleet-routing data requested by logistics evaluators by adding visibility (measured cleanly normalized into meters).

Includes full end-to-end extraction from native provider properties:

  • OpenWeather
  • NWS
  • Tomorrow.io (with km to meter conversion built-in)
  • Weatherbit (with km to meter conversion built-in)

Verified locally with 197 passing tests and 100% statement coverage so CI checks shouldn't hang.

Adds visibility native extraction in meters.
Updates provider mappers to extract visibility correctly:
- OpenWeather: mapped implicitly 1:1 if present
- Tomorrow.io: km to meters multiplier applied
- Weatherbit: km () to meters mapped
- NWS: native conversion in wmoUnit:m

Includes end-to-end mocked unit tests to guarantee 100% path coverage on visibility maps.
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@victorquinn
victorquinn merged commit cf4a40d into main Jul 17, 2026
2 checks passed
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.

2 participants