Skip to content

Conversation

@kgoebber
Copy link
Collaborator

Description Of Changes

This PR adds the functionality to be able to plot extreme (e.g., High and Low) symbols and values through the MetPy declarative interface. It builds in some level of customization of plotting the symbols and values, but is not exhaustive due to this being the declarative interface. More options could be added in the future if there is a need and desire to add additional functionality.

Checklist

@kgoebber kgoebber requested a review from a team as a code owner July 27, 2025 18:36
@kgoebber kgoebber requested review from dopplershift and removed request for a team July 27, 2025 18:36
@needs_cartopy
def test_declarative_extrema():
"""Test plotting gridded extrema points."""
data = xr.open_dataset(get_test_data('GFS_test.nc', as_file_obj=False))

Check warning

Code scanning / CodeQL

File is not always closed Warning test

File is opened but is not closed.
@needs_cartopy
def test_declarative_nam_extrema():
"""Test plotting gridded extrema points."""
data = xr.open_dataset(get_test_data('NAM_test.nc', as_file_obj=False))

Check warning

Code scanning / CodeQL

File is not always closed Warning test

File is opened but is not closed.
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.

Add ability to plot text on figure in declarative syntax

1 participant