Basemap

Basemap


Example Gallery

安装 直接安装


# Basemap安装文件的下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/
# 下载时注意对应本机的Python版本就好了, 比如我电脑上是3.10的python我就使用的pyproj-3.3.1-cp310-cp310-win_amd64.whl
# pip install basemap-1.3.3-cp310-cp310-win_amd64.whl


从CDAT到Basemap,再到Cartopy

基于Python语言最早的数据地图可视化的工具包应该是CDAT(Community Data Analysis Tools)。

根据官方资料(1/L2/L),美国能源部为了更好地开展气候研究(DOE‘s climate research)、更方便对大量地气候数据模式资源(例如来自地球系统网格联盟,Earth System Grid Federation, ESGF地成果)进行分析、诊断和可视化,由劳伦斯利弗莫尔国家实验室(Lawrence Livermore National Laboratory,LLNL)牵头,联合了美国能源部下属实验室(包括 Los Alamos, Lawrence Berkeley, LLNL, Oak Ridge)、两间大学(University of Utah and the Polytechnic Institute of New York University), 美国宇航局(NASA, 以及两家私营公司 (Kitware and tech-X) 研发了CDAT。


Gallery


Gallery



vcs3D_cubed_sphere_volume


vcs3D_uwnd_slice

不过该计划要在2023年财年就要结束了,也就是后续不再更新升级了:

根据官方介绍,Basemap最早(从下图官网通知的版权时间来看应该是2011年)是由Jeff Whitaker编写的工具包,用于他气候与天气预报(climate and weather forecasting)的研究中。因为当时Python语言用于在投影地图上绘图的工具只有CDAT。

# Basemap安装文件的下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/
# 下载时注意对应本机的Python版本就好了, 比如我电脑上是3.10的python我就使用的pyproj-3.3.1-cp310-cp310-win_amd64.whl
# pip install basemap-1.3.3-cp310-cp310-win_amd64.whl


源码:01

根据官网公告,自2016年开始,Basemap进入新的管理模式,将被Cartopy取代。



Basemap画地图地图(官网


源码



源码



源码




python采用Basemap绘制完美中国地图

Basemap应用实例 —— Plotting data on a map(一)




BypInformation