This function extract the area of images covered by non NA values and return
an sf
object with one polygon per image.
Arguments
- path_in
character. Path to the main folder of the target images. Images must be of Geotiff format.
- dates
character vector. Dates (format of dates should be '%Y-%m-%d', '%Y%m%d' or '%Y_%m_%d').The order should match
path_in
.- out_dir_path
character. Directory where the outputs are saved. One file will be export per date. If NULL, the vector will not be exported.
- filename
logical. Name of the files.