GetDates: Get list of available dates for requested time-series

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/GetDates.R

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.

Usage

1
GetDates(Lat, Long, Product)

Arguments

Lat

Numeric; a decimal degrees latitude in WGS-1984 coordinate system.

Long

Numeric; a decimal degrees longitude in WGS-1984 coordinate system.

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).

Value

A character vector; each element representing a time-step (in MODIS date format) where data is available.

Author(s)

Sean Tuck

References

https://daacmodis.ornl.gov/cgi-bin/MODIS/GLBVIZ_1_Glb/modis_subset_order_global_col5.pl

See Also

MODISSubsets

Examples

1
2
3
## Not run:  # dontrun() used because running the example requires internet access.
GetDates(Lat=51.41363, Long=-0.64875, Product="MOD13Q1")
## End(Not run)

seantuck12/MODISTools documentation built on May 29, 2019, 4:55 p.m.