科学网

 找回密码
  注册
Python: Installing Scipy Package
李旭 2015-4-26 11:28
Scipy Package 安装方法很简单,首先需要明确本机 Python 的版本,如图 1 : 图 1 本机 Python 版本 2.7.3 , 32bit 。 因此,在 下载地址 选择最新版本,在最新版本中选择与 Python 对应的安装程序,本例选择的是 scipy-0.15.1-win32-superpack-python2.7.exe ,双击开始安装,直至完 ...
个人分类: Python|2311 次阅读|没有评论
Python+ArcPy: Extract by Mask (Spatial Analyst)
李旭 2015-3-25 22:04
原帖 ENVI+IDL : Clip a Raster by a shapefile 出现一个 Bug ,当 shapefile 文件覆盖范围大于 Raster 数据时程序出现错误,裁剪不成功,替代方案是基于 ArcGIS 的 ArcPy 再编辑一个 Python 版的裁剪程序。 代码参考: Extract by Mask (Spatial Analyst) ,运行流畅,成功输出预期结果。 ...
个人分类: Python|5567 次阅读|没有评论
ArcPy: Kriging (Spatial Analyst)
李旭 2015-3-23 16:17
Kriging is a processor-intensiveprocess . The speed of execution is dependent on the number of points in the input dataset and the size of the search window. Low values within the optional output variance of prediction raster indicate a high degree of confidence in the predicted value. High ...
个人分类: Python|7899 次阅读|没有评论
Python+Arcpy: Interpolating Using IDW
李旭 2015-3-15 23:12
已知:一个 Point Shapefile 文件,基于其中的字段完成由点及面的插值工作,这一矢量文件来自 Python+xlrd: Create a Point Shapefile based on Lon/Lat 方法:体会 Idw ,或者 IDW_ga 。 附上测试数据及代码( shp2inter.rar ,Updated by LI Xu on 2 May 2015 )。运行结果如图 1 。 ...
个人分类: Python|4360 次阅读|没有评论
Python+xlrd: Create a Point Shapefile based on Lon/Lat
李旭 2015-3-15 22:30
已知: Excel 文件 sheet 表中包含气象站点的温度、降水数据,并附上站点的经度与纬度,试探讨如何将该数据生成 Point Shapefile 文件,并为各个 Point 添加属性字段及赋值? 方法: Python+xlrd 读取 Excel 文件中的 sheet 内容, Python+Arcpy 实现 Point Shape ...
个人分类: Python|3170 次阅读|没有评论

本页有 5 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-22 00:28

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部