首页 > 解决方案 > Rgee 中等效的 ee.Image.not() 是什么

问题描述

我尝试复制这条 gee line

directions=directions.addBands(directions.select(0).not().multiply(5));

在 rgee 作为

directions<-directions$addBands(directions$select(0)$not()$multiply(5))

我得到错误AttributeError: 'Image' object has no attribute 'not'

标签: rgoogle-earth-enginergee

解决方案


很可能是“不”,因为这是 python 包使用的,并且 rgee 通过 python 客户端。


推荐阅读