getProduct.Rd 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/getProduct.R
  3. \name{getProduct}
  4. \alias{getProduct}
  5. \title{Check and Create Product-Related Information}
  6. \usage{
  7. getProduct(x = NULL, quiet = FALSE)
  8. }
  9. \arguments{
  10. \item{x}{\code{character}. MODIS filename, product name, regular expression
  11. passed to \code{pattern} in \code{\link{grep}}, or missing.}
  12. \item{quiet}{\code{logical}, defaults to \code{FALSE}.}
  13. }
  14. \value{
  15. An invisible \code{list} with information usable by other functions or, if
  16. 'x' is missing, a \code{data.frame} with information about all products
  17. available.
  18. }
  19. \description{
  20. On user side, it is a funtion to find the desidered product. On package site,
  21. it generates central internal information to hande files.
  22. }
  23. \examples{
  24. getProduct() # list available products
  25. # or use regular expression style
  26. getProduct("M.D11C3")
  27. getProduct("M*D11C")
  28. # or get information about specific product
  29. internal_info <- getProduct("MOD11C3", quiet = TRUE)
  30. internal_info
  31. }
  32. \author{
  33. Matteo Mattiuzzi
  34. }