(self, geobounds, **kwargs)
| 662 | return _cf_params |
| 663 | |
| 664 | def _pyngl(self, geobounds, **kwargs): |
| 665 | if not pyngl_enabled(): |
| 666 | return None |
| 667 | |
| 668 | _pyngl = Resources() |
| 669 | _pyngl.mpProjection = "Mercator" |
| 670 | _pyngl.mpDataBaseVersion = "MediumRes" |
| 671 | _pyngl.mpCenterLatF = 0.0 |
| 672 | _pyngl.mpCenterLonF = self._stand_lon |
| 673 | |
| 674 | _pyngl.mpLimitMode = "Corners" |
| 675 | _pyngl.mpLeftCornerLonF = geobounds.bottom_left.lon |
| 676 | _pyngl.mpLeftCornerLatF = geobounds.bottom_left.lat |
| 677 | _pyngl.mpRightCornerLonF = geobounds.top_right.lon |
| 678 | _pyngl.mpRightCornerLatF = geobounds.top_right.lat |
| 679 | |
| 680 | for key, val in viewitems(kwargs): |
| 681 | setattr(_pyngl, key, val) |
| 682 | |
| 683 | return _pyngl |
| 684 | |
| 685 | def _basemap(self, geobounds, **kwargs): |
| 686 | if not basemap_enabled(): |
nothing calls this directly
no test coverage detected