Learn R Programming

MODIStsp (version 2.1.0)

get_mod_dates: Find MODIS dates included in selected processing period

Description

Accessory function to find the folders corresponding to the requested dates period within the full list retrieved by get_moddirs

Usage

get_mod_dates(dates, date_dirs)

Value

array of folder names containing data for the MODIS product acquired in the period specified by "dates"

Arguments

dates

2- element string array specifying start/end dates (yyyy.mm.dd) for which the http addresses of folders in lpdaac should be retrieved (e.g., c("2015.1.1", "2015.12.31)

date_dirs

data frame full list of folders in lpdaac archive for product of interest

Author

Luigi Ranghetti, phD (2016)

Lorenzo Busetto, phD (2017)