Function used to create virtual files from time series of single-band files corresponding to different acquisition dates
MODIStsp_vrt_create(out_prod_folder, meta_band, file_prefixes, sens_sel, ts_format, nodata_value, out_format, rts)
out_prod_folder | string main output folder |
---|---|
meta_band | string "name" of the band (or SI, or QI) for which the virtual file is to be created |
file_prefixes | string file_prefixes for TERRA and AQUA - used to identify the files corresponding to each sensor |
sens_sel | string name of the sensor for which the time series has to be created (Aqua, Terra, Mixed) If "Mixed" and both TERRA and AQUA images are available, a "mixed" virtual file comprising data from both sensors ordered on DOY base is created |
ts_format | string required output format for virtual file (ENVI, GDAL, Both) |
nodata_value | string NoData value to be used for vrt files (equal to NoData value of inputs) |
out_format | format of images used as "input" for the vrt and contained in out_prod_folder/band folders (ENVI or GTiff) |
rts | string ("Yes"/"No") If Yes, create rts time series |
NULL - virtual files are stored in the "Time Series" subfolder of out_prod_folder
The function takes as input the folder in which the single-band files are stored, and creates a ENVI Meta file and/or a GDAL vrt file that allows access to the full time series as if it was a single physical file
License: GPL 3.0