Match
match_timestamps(times_data, times_clouds, cutoff=15)
Matches timestamps of data and cloudmask files, if not measured at exactly the same time.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
times_data |
List[str]
|
Timestamps of data files. |
required |
times_clouds |
List[str]
|
Timestamps of the cloud mask files. |
required |
cutoff |
str
|
Maximum time difference in minutes to consider a match. Defaults to 15. |
15
|
Returns:
Type | Description |
---|---|
DataFrame
|
pd.DataFrame: A DataFrame with the matched timestamps. |