https://ocw.un-ihe.org/mod/book/view.php?id=6788&chapterid=578
https://github.com/jvdkwast/PyQGIS_Hydro/blob/master/scripts/StageVolume.py
import numpy as np
levels = np.arange(12.9,20.0,0.5).tolist()
for i_level in levels:
r = processing.run("native:rastersurfacevolume", {'INPUT':'OUTPUT.tif','BAND':1,'LEVEL':i_level,'METHOD':1,'OUTPUT_HTML_FILE':'Skip Output'})
print('{}:{}:{}'.format(i_level,round(abs(r['VOLUME']/10**8),2),round(r['AREA']/10**6,2)))
How do I read the hypsometric curve?
Hypsographic Curve of Earth's Surface from ETOPO1
Elevation and Volume relationship curve in QGIS
没有评论:
发表评论