【文件属性】:
文件名称:otm-python-eco:Python中的树生态效益
文件大小:618KB
文件格式:ZIP
更新时间:2021-05-14 09:28:47
Python
用于计算树木生态效益数据的Python库
通常,您需要一个地区代码,种类代码和因子类型。 您还可以使用一些便利功能来一起解决因子类型。
安装
eco.py尚未启用pypi,因此请使用git进行获取:
pip install git+git://github.com/azavea/eco.py.git
例子
from eco import benefits
dbh_cm = 311 # Diameter at breast height in
# centimeters
# Get a list of all regions
regions = benefits . regions
# Regions use the original iTree Streets code names
# in this example we can use the Northea