modiscloud: R tools for processing Level 2 Cloud Mask products from MODIS

Share:

Package for processing downloaded MODIS Cloud Product HDF files and derived files. Specifically, MOD35_L2 cloud product files, and the associated MOD03 geolocation files (for MODIS-TERRA); and MYD35_L2 cloud product files, and the associated MYD03 geolocation files (for MODIS-AQUA). The package will be most effective if the user installs MRTSwath (MODIS Reprojection Tool for swath products; https://lpdaac.usgs.gov/tools/modis_reprojection_tool_swath), and adds the directory with the MRTSwath executable to the default R PATH by editing ~/.Rprofile.

Author
Nicholas J. Matzke, Dept. of Integrative Biology, U.C. Berkeley
Date of publication
2013-02-09 07:43:26
Maintainer
Nicholas J. Matzke <matzke@berkeley.edu>
License
GPL (>= 2)
Version
0.14
URLs

View on CRAN

Man pages

adf
Convert to data.frame, without factors
adf2
Convert to data.frame, without factors
byteint2bit
Convert a byte integer (0-255) to a list of 8 bits
byteint2bit_list
Convert a list of byte integer (0-255) to a table of 8 bits...
check_for_matching_geolocation_files
Checks that every MODIS cloud project HDF has a matching...
dates_from_fileslist
Convert each MODIS filename to year, month, day, hourmin
extract_bit
Get the value of a particular bit in a byte
extract_fn_from_path
Get the filename from a path
extract_time_from_MODISfn
Extract the year, day, and hour from a MODIS filename
fermat.test
Test an integer for primality with Fermat's little theorem
foo
Test function
foo2
Test function
get_bitgrid
Extract the value of a particular bit at each pixel
get_bitgrid_2bits
extract the value of 2 particular bits at each pixel
get_date_from_POSIXct
Get the time information from a POSIXct time
get_dates_from_POSIXct
Get the time information from POSIXct times
is.pseudoprime
Check an integer for pseudo-primality to an arbitrary...
is.pseudoprime2
Check an integer for pseudo-primality to an arbitrary...
make_cloudcount_product
Take a cloudcount raster and a number-of-observations raster...
make_POSIXct_date
Take year, month, day, hourmin, convert to POSIXct
make_weeks_list
Make a list of numbered weeks
modfns_to_ftp_download_cmd
Make download commands for MODIS files
modiscloud-package
Process MODIS cloud mask product files to TIF
numslist_to_grd
Convert a list of numbers to a grid
run_swath2grid
Run MRTSwath swath2grid tool
slashslash
Remove double slash (slash a slash)
sum_bitgrid
Take a series of byte tifs, extract the values of a bit, and...
unlist_df
Unlist the columns in a data.frame
unlist_df2
Unlist the columns in a data.frame, with more checks
write_MRTSwath_param_file
Write a parameter control file for MRTSwath
yearday_to_date
Convert a year + a day number to a date
yearmonthday_to_julianday
Get the julian day for a year/month/day date

Files in this package

modiscloud
modiscloud/MD5
modiscloud/R
modiscloud/R/modiscloud.R
modiscloud/R/modiscloud-package.R
modiscloud/R/fermat.R
modiscloud/NAMESPACE
modiscloud/man
modiscloud/man/yearmonthday_to_julianday.Rd
modiscloud/man/yearday_to_date.Rd
modiscloud/man/write_MRTSwath_param_file.Rd
modiscloud/man/unlist_df2.Rd
modiscloud/man/unlist_df.Rd
modiscloud/man/sum_bitgrid.Rd
modiscloud/man/slashslash.Rd
modiscloud/man/run_swath2grid.Rd
modiscloud/man/numslist_to_grd.Rd
modiscloud/man/modiscloud-package.Rd
modiscloud/man/modfns_to_ftp_download_cmd.Rd
modiscloud/man/make_weeks_list.Rd
modiscloud/man/make_POSIXct_date.Rd
modiscloud/man/make_cloudcount_product.Rd
modiscloud/man/is.pseudoprime2.Rd
modiscloud/man/is.pseudoprime.Rd
modiscloud/man/get_dates_from_POSIXct.Rd
modiscloud/man/get_date_from_POSIXct.Rd
modiscloud/man/get_bitgrid_2bits.Rd
modiscloud/man/get_bitgrid.Rd
modiscloud/man/foo2.Rd
modiscloud/man/foo.Rd
modiscloud/man/fermat.test.Rd
modiscloud/man/extract_time_from_MODISfn.Rd
modiscloud/man/extract_fn_from_path.Rd
modiscloud/man/extract_bit.Rd
modiscloud/man/dates_from_fileslist.Rd
modiscloud/man/check_for_matching_geolocation_files.Rd
modiscloud/man/byteint2bit_list.Rd
modiscloud/man/byteint2bit.Rd
modiscloud/man/adf2.Rd
modiscloud/man/adf.Rd
modiscloud/inst
modiscloud/inst/REFERENCES.bib
modiscloud/inst/CITATION
modiscloud/DESCRIPTION