Description Usage Arguments Value Author(s) References See Also
Convert a Raster* object representing MODIS QFLAG bit values to a Raster* with two categories representing flagged and non-flagged pixels
1 | convert_qf_modis(r,qf,type,cl = NULL,filename = rasterTmpFile(), ...)
|
r |
A |
qf |
Quality Flag to be extracted. Can be more than one of these: If type = 'MOD13': 'MODLAND_QA','VI_usefulness','aerosol_quantity','adjacent_cloud','atmosphere_brdf','mixed_clouds','land_water_flag','snow','shadow'. If type = 'MOD15':'MODLAND_QC','sensor','dead_detector','cloud','scf_qc'. If type = 'MOD15Extra':'sea', 'snow', 'aerosol', 'cirrus', 'cloud', 'shadow', 'biome' |
type |
character |
cl |
cluster object for parallel processing. Default is |
filename |
Passed to |
... |
arguments passed to |
A RasterBrick-class object with two values (1,0), representing respectively pixels that are flagged by at least one of the give qf,
and pixels that are not flagged in any of the given qf
Antoine Stevens
https://lpdaac.usgs.gov/dataset_discovery/modis/modis_products_table/mod13a2, https://lpdaac.usgs.gov/dataset_discovery/modis/modis_products_table/mod15a2
extractBits and interpolate_raster for an example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.