当前位置:网站首页>Google Earth Engine - Calculates the effective width of rivers using publicly available river data
Google Earth Engine - Calculates the effective width of rivers using publicly available river data
2022-08-04 00:33:00 【This star is bright】
The code for this tutorial uses two publicly available datasets (GSW and HydroLakes_polygons) and an updated river network (Updated_river_network) uploaded as a shareable asset.The objective is to use the GSW dataset to estimate the effective river width for different water volumes (i.e. 1, 10, 20, 30, 40, 50%) along the model river network.
The code does this by creating a buffer around the line segment on the river network, estimating the area of the water pixel, and then dividing the water area by the line segment length to calculate the "effective width".
Currently, this code can only be applied to a single segment (defined by the unique segment ID at L95) at any time.The code runs successfully and the effective width of each water occurrence is written to the .csv file.
Code:
// GEE code to estimate effective river widths from Global Surface Water (GSW) occurrences.// v1.1 - July 2022//[email protected]// Uses code from Gennadii Donchyts - https://code.earthengine.google.com/2dbde97cb9d7326af7779f5cc4b91b93// Uses code from RivWidthCloud (Yang et al., 2019) - https://doi.org/10.1109/LGRS.2019.2920225// Builds on code from RODEO (Riggs et al., 2022) - https://doi.org/10.1016/j.envsoft.2021.105254///// Datasets//var GSW = ee.Image('JRC/GSW1_3/GlobalSurfaceWater');var GSW_o
边栏推荐
猜你喜欢
typescript50 - type specification between cross types and interfaces
虚拟机CentOS7中无图形界面安装Oracle
Read FastDFS in one article
c语言分层理解(c语言指针(上))
互斥锁、读写锁、自旋锁,以及原子操作指令xaddl、cmpxchg的使用场景剖析
Talking about the future development direction of my country's industrial parks
七夕活动浪漫上线,别让网络拖慢和小姐姐的开黑时间
dynamic memory two
ES6高级-迭代器与生成器的用法
typescript55-泛型约束
随机推荐
typescript54-泛型约束
The Beijing E-sports Metaverse Forum was successfully held
Node.js的基本使用(三)数据库与身份认证
智能管理PoE交换机
研究生新生培训第四周:MobileNetV1, V2, V3
sqlnet.ora文件与连接认证方式的小测试
MPLS综合实验
R3LIVE论文学习(二):VIO子系统
dynamic memory two
身为程序员的我们如何卷死别人?破局重生。
LYVE1抗体丨Relia Tech LYVE1抗体解决方案
北京电竞元宇宙论坛活动顺利召开
如何通过单步调试的方式找到引起 Fiori Launchpad 路由错误的原因试读版
【杂项】通过Excel为字符串产生条码
扩展卡尔曼滤波EKF
小米--测试开发
绕任意轴旋转矩阵推导
JVM垃圾回收总结(未完待续)
【详细教程】一文参透MongoDB聚合查询
分析:Nomad Bridge黑客攻击的独特之处