Skip to contents

Estimate observation date of satellite imagery

Usage

estimate_obsdate(df)

Arguments

df

Input data frame from water tracker with added field "dup" from find_duplicates()

Value

tibble with added fields "overlap_days" and "obsdate".

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.