How to filter out a platform in the Landat 8-9 collection

I am using the the script below to request landsat data. Is there a way to filter for Landat 8 scenes in the combined landsat-ot-l1 collection?

request = SentinelHubRequest(
data_folder=out_folder,
evalscript=evalscript,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.LANDSAT_OT_L1,
time_interval=(‘2024-06-16’, ‘2024-08-17’)
)
],
responses=[
SentinelHubRequest.output_response(‘default’, MimeType.TIFF),
# SentinelHubRequest.output_response(‘userdata’, MimeType.JSON)
],
bbox=bbox,
size=size,
config=config
)

Hi Stella,

Apologies for the slow reply.

Currently, this isn’t a feature you can use in a Process API request. However, you can utilise the Catalog API to filter the scenes by sensor beforehand.

Then using the returned field platform you can filter by either Landsat 8 or 9. Below I have screen shotted and example of this taken from Request Builder:

Hope this helps you out :+1:

1 Like