r - 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'
解决方案
很可能是“不”,因为这是 python 包使用的,并且 rgee 通过 python 客户端。
推荐阅读
- python - pyzbar 未检测到 Code93 条码
- javascript - 如何以正确的方式捆绑 AntD?
- flutter - 是否可以使用颤振实时跟踪所覆盖的公里数?
- c# - 使用 DigitalPersona 5300 Reader 进行指纹采集。如何在 Windows 服务中检测设备?
- c - 将数据添加到函数内部的结构,但外部值为空
- c# - Lidgren 客户加入编辑器但未构建
- python - 我不知道为什么不是我所有重叠的数字都没有被附加到列表中
- swagger - AWS API Gateway 将 OAS3 路径和查询参数类型更改为字符串
- c++ - 由 opencl 处理返回的 C++ 中的表面模糊算法 (0xC0000005)
- c++ - 我们可以使用最小线段树来回答一定范围内的数组中没有小于k的元素吗?