MetPy icon indicating copy to clipboard operation
MetPy copied to clipboard

Add check before plotting wind barbs

Open sgdecker opened this issue 2 years ago • 1 comments

Description Of Changes

Currently, BarbPlot is happy to attempt to plot very large wind barbs, but if the size becomes too large, memory usage becomes an issue, leading to system hangs. This commit adds a check to make sure the wind barbs will not consist of so many pennants that memory could be an issue.

Checklist

  • [x] Closes #2785
  • [x] Tests added
  • [x] Fully documented

sgdecker avatar Nov 10 '22 21:11 sgdecker

This is the kind of check I am envisioning.

sgdecker avatar Nov 10 '22 21:11 sgdecker