1.安装anaconda3,安装推荐https://www.jianshu.com/p/169403f7e40c
2.cartopy安装,此时,如果在GitHub上下载安装包,用Python setup.py install 命令行的方式安装会出现以下问题:error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2。
解决方式:直接在https://www.lfd.uci.edu/~gohlke/pythonlibs/#cartopy下载cartopy的.whl文件,用pip install ****.whl命令安装该模块。
3.Metpy,Shapefile,Pyresample的安装:应用命令pip install 模块名称 安装即可。安装shapefile的时候要安装1.2.12版本。安装命令为pip instal pyshp==1.2.12.
4.安装PyCinrad:从GitHub上下载PyCINRAD-master.zip文件,解压后再cmd中打开该文件夹,然后运行Python setup.py install命令进行安装。
5.安装netcdf4: pip install netcdf4.
通过以上步骤即可安装好