Commit 58e229a
committed
Add check before plotting wind barbs
Fixes #2785.
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.1 parent e262ca6 commit 58e229a
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
1663 | 1674 | | |
1664 | | - | |
1665 | | - | |
| 1675 | + | |
1666 | 1676 | | |
1667 | 1677 | | |
1668 | 1678 | | |
| |||
0 commit comments