coincident.overlaps.subset_by_temporal_overlap#
- coincident.overlaps.subset_by_temporal_overlap(gf, start_datetime, end_datetime, temporal_buffer=14)[source]#
Subset GeoDataFrame with time intervals by a single temporal span.
- Parameters:
gf (
GeoDataFrame) – The input GeoDataFrame with ‘start_datetime’ and ‘end_datetime’ columnsstart_datetime (
Timestamp) – The start datetime for the overlap.end_datetime (
Timestamp) – The end datetime for the overlap.temporal_buffer (
int) – The buffer in days to apply to the start and end datetimes.
- Return type:
- Returns:
A subset of the input GeoDataFrame with rows that overlap temporally with the specified span.