bitwise_extract: bitwise_extract

View source: R/cloud_mask_modis.R

bitwise_extractR Documentation

bitwise_extract

Description

utility to extract bitmask values - https://spatialthoughts.com/2021/08/19/qa-bands-bitmasks-gee/

Usage

bitwise_extract(value, from_bit, to_bit)

Arguments

value

ee$Number or ee$Image to extract from

from_bit

int or ee$Number with the first bit

to_bit

int or ee$number with the last bit (inclusive)

Value

bit


impact-initiatives-geospatial/surveyGEER documentation built on Feb. 4, 2023, 12:13 p.m.