Accessory function to find the names of HDF images corresponding to a given date and interval of spatial tiles within the lpdaac archive

lpdaac_getmod_names(http, ftp, used_server, user, password, date_dir, v, h,
  tiled, out_folder_mod, gui)

Arguments

http

string http site on lpdaac corresponding to a given MODIS product

ftp

string ftp site corresponding to a given MODIS product

used_server

string can assume values "http" or "ftp" depending on the used download server; it cannot be NA

user

username for earthdata server

password

password for earthdata server

date_dir

array of folder names containing data for the MODIS product acquired in a given period (return array from lpdaac_getmod_dates)

v

int. array containing a sequence of the vertical tiles of interest (e.g., c(18,19))

h

int. array containing a sequence of the horizontal tiles of interest (e.g., c(3,4))

tiled

0/1 1 = tiled product; 0 = non-tiled product (resolution 0.05 deg)

out_folder_mod

output folder for original HDF storage

gui

logical indicates if processing was called within the GUI environment or not. If not, direct processing messages to the log

Value

Modislist names of HDF images corresponding to the requested tiles available for the product in the selected date

Note

License: GPL 3.0