GetDates.Rd 1.1 KB

123456789101112131415161718192021
  1. \name{GetDates}
  2. \alias{GetDates}
  3. \title{Get list of available dates for requested time-series}
  4. \description{Internal function that uses the MODIS SOAP Web Service to retrieve a list of all dates when the requested data, specified by MODIS product and a location, are available for download.}
  5. \usage{GetDates(Lat, Long, Product)}
  6. \arguments{
  7. \item{Lat}{Numeric; a decimal degrees latitude in WGS-1984 coordinate system.}
  8. \item{Long}{Numeric; a decimal degrees longitude in WGS-1984 coordinate system.}
  9. \item{Product}{Character string; a product code to request subsets from. The MODIS product table shows all available products and their respective product titles (see references).}
  10. }
  11. \value{A character vector; each element representing a time-step (in MODIS date format) where data is available.}
  12. \references{
  13. \url{https://daacmodis.ornl.gov/cgi-bin/MODIS/GLBVIZ_1_Glb/modis_subset_order_global_col5.pl}
  14. }
  15. \author{Sean Tuck}
  16. \seealso{\code{\link[MODISTools:MODISSubsets]{MODISSubsets}}}
  17. \examples{
  18. \dontrun{ # dontrun() used because running the example requires internet access.
  19. GetDates(Lat=51.41363, Long=-0.64875, Product="MOD13Q1")}
  20. }