Returned by `M2MDataset$search()`. Holds the matching scenes and is the bridge to discovering downloadable products. Not created directly.
Public fields
scenesA tibble of the matching scenes.
total_hitsThe total number of scenes the API reported as matching, which exceeds `nrow(scenes)` when `max_results` was set.
Methods
M2MSceneSearch$new()
Wrap search results. Use `M2MDataset$search()` instead.
Usage
M2MSceneSearch$new(session, dataset, results, total_hits)M2MSceneSearch$filter()
Subset the scenes before requesting products, using `dplyr::filter()` semantics against the `scenes` tibble.
M2MSceneSearch$combine()
Combine these scenes with those of other searches, so one `$products()` call and one download order covers all of them.
Scenes appearing in more than one search are kept once, so searches that overlap do not double-count. All the searches must be of the same dataset, since a set of products is discovered per dataset.
M2MSceneSearch$products()
Discover the products (bands and related files) available for these scenes. This registers a scene list server-side first, which the M2M API requires before download options can be listed.