使用Basemap生成静止卫星的圆盘底图-FY4A为例

import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap

fig = plt.figure(figsize=(2.748, 2.748), dpi=1000)

m = Basemap(projection='ortho',
            lat_0=0, lon_0=104.5)

m.drawlsmask(land_color="#808080",
             ocean_color="#808080",
             resolution='l')

m.drawcoastlines(linewidth=0.2)
m.drawcountries(linewidth=0.2)

m.drawparallels(range(-90, 90, 10), linewidth=0.2)
m.drawmeridians(range(-180, 180, 10), linewidth=0.2)

plt.subplots_adjust(top=1, bottom=0, left=0, right=1, hspace=0, wspace=0)
plt.margins(0, 0)
plt.savefig('ditu.jpg')

使用Basemap生成静止卫星的圆盘底图-FY4A为例_第1张图片

https://basemaptutorial.readthedocs.io/en/latest/plotting_data.html#imshow
https://www.wandouip.com/t5i24140/
https://codeday.me/bug/20170829/60935.html
https://ask.helplib.com/python/post_1603029
https://blog.csdn.net/xull88619814/article/details/82052894
http://www.jiniannet.com/Page/allcolor

你可能感兴趣的:(使用Basemap生成静止卫星的圆盘底图-FY4A为例)