-
Notifications
You must be signed in to change notification settings - Fork 8
Add auto option for interpolate_target_resolution to adapt to plot domain #103
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
When plotting with contour(f), complex grids (reduced Gaussian, ocathedral, HEALPix) are currently interpolated to a fixed resolution of 0.1° (configurable via the interpolate_target_resolution schema key).
This works well for small domains, but is inefficient for global or large-scale plots where we do not gain any visual benefit from being at such a high resolution.
Describe the solution you'd like
Introduce a new option:
interpolate_target_resolution = "auto"- When enabled, the interpolation should automatically select a target resolution based on the domain extent.
- The behavior could mirror the way coastline resolution is chosen dynamically.
The benefits of this would be:
- Faster plotting for large/global datasets.
- Less manual tuning required by users.
Describe alternatives you've considered
No response
Additional context
No response
Organisation
ECMWF
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request