Estimate observation date of satellite imagery
Arguments
- df
Input data frame from water tracker with added field "dup" from
find_duplicates()
Details
Internal to format_watertracker()
. Not meant to be called
separately.
Function first find the number of days of overlap period between the end date of each observation's mosaic date range and start of the next observation's date range. If the next row is marked as a duplicate, the observation date of the image is estimated as the midpoint of this overlap period. Otherwise, the observation date is estimated as the midpoint of the original mosaic start and end date range.