第一步:导入包
# 导入数据处理库 import numpy as np import pandas as pd # 导入插值库 from pykrige.ok import OrdinaryKriging from pykrige.kriging_tools import write_asc_grid import pykrige.kriging_tools as kt #导入绘图库 import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap
参考:https://www.bilibili.com/video/av334193124?vd_source=906814cf963c4cb1b6192a4acde87b93