MetPy
MetPy copied to clipboard
Add check before plotting wind barbs
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
This is the kind of check I am envisioning.