make_cloudcount_product: Take a cloudcount raster and a number-of-observations raster and make a fraction cloud product
Description
Takes a cloudcount raster, and a number-of-observations
raster, and makes a fraction cloud product.
Usage
make_cloudcount_product(master_bitgridvalsCC, master_bitgridvals0, num_its, grd, xdim_new, ydim_new, countzeros = FALSE)
Arguments
master_bitgridvalsCC
Cloud count raster
master_bitgridvals0
Raster indicating the count of
valid observations
num_its
The total number of images or files, i.e.
the number of attempts to see clouds
grd
An input grid with the appropriate projection
and extent to match the rasters
xdim_new
The x-dimension (in # of pixels; i.e. #
of columns) of the input/output grids
ydim_new
The y-dimension (in # of pixels; i.e. #
of rows) of the input/output grids
countzeros
Should zeros be counted? TRUE or FALSE
Value
grd_final
, a grid with fraction cloudy
References
Ackerman S, Frey R, Strabala K, Liu Y, Gumley L, Baum B
and Menzel P (2010). "Discriminating clear-sky from cloud
with MODIS algorithm theoretical basis document (MOD35)."
MODIS Cloud Mask Team, Cooperative Institute for
Meteorological Satellite Studies, University of Wisconsin
- Madison. . GoldsmithMatzkeDawson2013
Examples
Run this code# For examples, see the function numslist_to_grd()
Run the code above in your browser using DataLab