Filters image catalog entries that fall in the season of interest -
dates between from day/month and to day/month for all years in the
from - to time range.
Arguments
- catalog
data.frameorsfobject as the one produced by a call toSearchCatalog- from
start of the season of interest.
- to
end of the season of interest.
The
fromandtoarguments can be either Date or character that can be converted to date byas.Date. Open intervals are not allowed (bothfromandtomust be valid dates).
Examples
if (FALSE) { # \dontrun{
dsn <- system.file("extdata", "centralpark.geojson", package = "CDSE")
aoi <- sf::read_sf(dsn, as_tibble = FALSE)
all_images <- SearchCatalog(aoi = aoi, from = "2021-06-01", to = "2023-08-31",
collection = "sentinel-2-l2a", with_geometry = TRUE, client = OAuthClient)
sesonal_images <- SeasonalFilter(all_images, from = "2021-06-01", to = "2023-08-31")
} # }
