10 2022 档案

OrdinaryKriging 克里金插值
摘要:x,y,d = 一维数组(散点数据) x0 = np.linspace(x.min, x.max, 150) y0 = np.linspace(y.min, y.max, 100) x1, y1 = np.meshgrid(x0, y0) for i in ['linear', 'power', ' 阅读全文

posted @ 2022-10-26 17:58 闹不机米 阅读(423) 评论(0) 推荐(0) 编辑

griddata 插值
摘要:x,y,d = 一维数组(散点数据) # 适用于散点数据插值为格点数据 x1, y1 = np.meshgrid(x, y) for i in ['linear', 'nearest', 'cubic']: DATA = griddata((x, y), d, (x1, y1), method=i) 阅读全文

posted @ 2022-10-26 17:37 闹不机米 阅读(65) 评论(0) 推荐(0) 编辑

Rbf 插值
摘要:i = ['multiquadric', 'inverse', 'gaussian', 'linear', 'cubic', 'quintic','thin_plate'] # 插值方法有这个几个 interp = Rbf(x, y, d, function=i) DATA = interp(x1, 阅读全文

posted @ 2022-10-26 17:23 闹不机米 阅读(162) 评论(0) 推荐(0) 编辑

cmap 自定义颜色卡
摘要:# 渐变色 cmap = LinearSegmentedColormap.from_list('white_to_red', ['#00FF00', '#0000FF', '#FFFF00', '#FF0000']) # 间隔色块 cmap = mpl.colors.ListedColormap([ 阅读全文

posted @ 2022-10-24 13:56 闹不机米 阅读(469) 评论(0) 推荐(0) 编辑

QGIS 自带python39安装包命令
摘要:C:\Program Files\QGIS 3.20.1\apps\Python39>python -m pip install global-land-mask -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliy 阅读全文

posted @ 2022-10-14 13:26 闹不机米 阅读(90) 评论(0) 推荐(0) 编辑

postgis 安装错误记录
摘要:postgres单机 + postgis 安装详细版https://zhuanlan.zhihu.com/p/143690286 ERROR: could not load library "/opt/postgresql-9.3.2/lib/postgis-2.3.so": /opt/postgr 阅读全文

posted @ 2022-10-13 16:50 闹不机米 阅读(688) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示