I hope someone can give me a quick pointer here. I’m using the pystac_client to query the Element 84 AWS stac API (and still finding my way around the API). Okay, fine. I see catalog “sentinel-s2-l2a-cogs” from which I’ve pulled an example tile, and I see catalog “sentinel-s2-l1c”, where I understand the cloud mask data lives. Do I need to pull data from both, in two operations, and merge to then filter the L2 product pixels on the cloud mask? Or is there a convenient way to do a query (one data “pull”) on the L2 product as I have been doing but specify the cloud mask product as a filter to only get the non-cloudy pixels? If that makes sense.
Apologies for the haste of this post, I’m happy with an “RTFM” answer with a link to the FM, but I have a 6 month child howling and wanting a feed and could do with a pointer to get me starting first thing in the morning back at work!