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

2022年8月26日

geopandas 把 shp 文件入库到 postgis 数据库

摘要: lll = {'database': "test", 'user': 'postgres', 'password': 'postgis', 'host': '127.0.0.1', 'port': '5432'} engine = create_engine( f"postgresql+psycop 阅读全文

posted @ 2022-08-26 14:33 闹不机米 阅读(148) 评论(0) 推荐(0) 编辑

geopandas 生成 shp 文件

摘要: 生成 shp 文件 ss = [] for il in C.allsegs[1:5]: ss.append(geometry.MultiLineString([i.tolist() for i in il if len(i.tolist()) > 1])) cq = geopandas.GeoDat 阅读全文

posted @ 2022-08-26 14:31 闹不机米 阅读(547) 评论(0) 推荐(0) 编辑

cinrad 读取雷达 bz2 文件数据

摘要: 安装 pip install cinrad -i https:mirrors.aliyun.com/pypi/simple 读取文件 import cinrad filename = r"Z_RADA_C_BABJ_20220720060001_P_DOR_Z9518_BASE_20220821_0 阅读全文

posted @ 2022-08-26 14:27 闹不机米 阅读(641) 评论(0) 推荐(0) 编辑

xarray 生成 tiff 文件

摘要: 生成 tiff 文件 from eccodes import * import numpy as np import xarray as xr import rioxarray as rio t2 = xr.Dataset(data_vars={'REF': (['longitude', 'lati 阅读全文

posted @ 2022-08-26 14:15 闹不机米 阅读(316) 评论(0) 推荐(0) 编辑

2022年8月18日

Cassandra

摘要: 介绍 Apache Cassandra是一个高度可扩展的高性能分布式数据库,用于处理大量商用服务器上的大量数据,提供高可用性,无单点故障。这是一种NoSQL类型的数据库。 特点 弹性可扩展性是高度可扩展的; 它允许添加更多的硬件以适应更多的客户和更多的数据根据要求。 始终基于架构没有单点故障,它可以 阅读全文

posted @ 2022-08-18 10:45 闹不机米 阅读(351) 评论(0) 推荐(0) 编辑

2022年8月1日

python 安装geopandas

摘要: 1. 使用说明,如何操作 shp 文件绘图 import geopandas as gpd import matplotlib.pyplot as plt plt.rcParams["font.family"] = "SimHei" # 设置全局中文字体为黑体 # 读入中国领土面数据 china = 阅读全文

posted @ 2022-08-01 13:56 闹不机米 阅读(345) 评论(0) 推荐(0) 编辑

2022年7月28日

ClickHouse

摘要: 介绍 ClickHouse 是俄罗斯的 Yandex 于 2016 年开源的用于在线分析处理查询(OLAP)MPP架构的列式存储数据库(DBMS),能够使用 SQL 查询实时生成分析数据报告。 列式存储 对于列的聚合、计数、求和等统计操作优于行式存储 由于某一列的数据类型都是相同的,针对于数据存储更 阅读全文

posted @ 2022-07-28 17:51 闹不机米 阅读(774) 评论(0) 推荐(0) 编辑

2022年7月19日

PostgreSQL 安装与使用

摘要: 安装 win 安装 https://www.cnblogs.com/haolb123/p/16553099.htmldocker 安装docker pull postgis/postgisdocker run --name some-postgis -e POSTGRES_PASSWORD=post 阅读全文

posted @ 2022-07-19 13:50 闹不机米 阅读(501) 评论(0) 推荐(0) 编辑

2022年6月22日

ImportError:libgeos3.6.2.so:无法打开共享对象文件:没有此类文件或目录

摘要: 引用 basemap 出现的错误 ImportError: libgeos-3.6.2.so: cannot open shared object file: No such file or directory 解决办法: apt-get install binutils libproj-dev 阅读全文

posted @ 2022-06-22 18:09 闹不机米 阅读(265) 评论(0) 推荐(0) 编辑

pycurl

摘要: 在Ubuntu 上安装pycurl时大致会遇到一下两个问题: 在使用pip install pycurl是报curl_config no found错误 gnutls.h: No such file or directory 解决办法: sudo apt-get install libcurl4-g 阅读全文

posted @ 2022-06-22 18:07 闹不机米 阅读(54) 评论(0) 推荐(0) 编辑

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

导航