上一页 1 2 3 4 5 6 ··· 12 下一页

2022年12月14日

ubuntu 下如何设置环境变量

摘要: 一、设置环境变量的三种方法 1.1 临时设置 export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH 1.2 当前用户的全局设置 打开~/.bashrc,添加行: export PATH=/home/yan/share/usr/local/ 阅读全文

posted @ 2022-12-14 14:03 闹不机米 阅读(1799) 评论(0) 推荐(0) 编辑

GDAL 安装

摘要: 命令总和 add-apt-repository ppa:ubuntugis/ppa apt-get update apt-get install gdal-bin apt-get install libgdal-dev export CPLUS_INCLUDE_PATH=/usr/include/g 阅读全文

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

2022年11月18日

PostgreSQL 数据类型

摘要: 数据类型 阅读全文

posted @ 2022-11-18 10:17 闹不机米 阅读(24) 评论(0) 推荐(0) 编辑

2022年11月16日

python 基础操作 plus

摘要: 将python列表中的多个列表转化为一个列表:列表的扁平化处理总结 方法一: 使用 itertools # 速度最快 import itertools a = [[1, 2, 3, 4], [4, 4, 5, 6], [7], [7, 8, 9]] out = list(itertools.chai 阅读全文

posted @ 2022-11-16 15:18 闹不机米 阅读(38) 评论(0) 推荐(0) 编辑

2022年10月26日

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 闹不机米 阅读(352) 评论(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 闹不机米 阅读(50) 评论(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 闹不机米 阅读(142) 评论(0) 推荐(0) 编辑

2022年10月24日

cmap 自定义颜色卡

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

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

2022年10月14日

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 闹不机米 阅读(59) 评论(0) 推荐(0) 编辑

2022年10月13日

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 闹不机米 阅读(510) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 12 下一页

导航