projection.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:wrf-python 作者: NCAR 项目源码 文件源码
def _basemap(self, geobounds, **kwargs):
        if not basemap_enabled():
            return None

        local_kwargs = dict(projection = "rotpole",
                            o_lat_p = self._bm_cart_pole_lat,
                            o_lon_p = self.pole_lon,
                            llcrnrlat = geobounds.bottom_left.lat,
                            urcrnrlat = geobounds.top_right.lat,
                            llcrnrlon = geobounds.bottom_left.lon,
                            urcrnrlon = geobounds.top_right.lon,
                            lon_0 = self._bm_lon_0,
                            rsphere = Constants.WRF_EARTH_RADIUS,
                            resolution = "l")

        local_kwargs.update(kwargs)
        _basemap = Basemap(**local_kwargs)

        return _basemap
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号