Skip to content

Conversation

@ecomodeller
Copy link
Member

@ecomodeller ecomodeller commented Jan 30, 2026

Summary

  • Remove _to_observation() and _to_model() methods from Comparer
  • spatial_overview and temporal_coverage now work directly with Comparers via duck typing
  • Uses gtype property instead of isinstance() checks, making it easier to add new observation types

Follow-up to #565 which removed value-based coloring to enable this refactor.

These methods existed only to support spatial_overview and temporal_coverage
plotting. Now these functions work directly with Comparers via duck typing
(using gtype, x, y, name, time properties), making it easier to add new
observation types without modifying Comparer.
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