Learn R Programming

MODISTools (version 0.95.1)

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

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

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.

References

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

See Also

MODISSubsets

Examples

Run this code
## Not run: ------------------------------------
#  # dontrun() used because running the example requires internet access.
# GetDates(Lat=51.41363, Long=-0.64875, Product="MOD13Q1")
## ---------------------------------------------

Run the code above in your browser using DataLab