Hi
Planet is promising almost daily imagery. It happens that in some days observation is not possible due to weather or occasional technical glitch.
In your AOI I can also data from 2nd, 4th, 5th and 8th of March:
What do you mean that the properties are missing in the metadata? Where specifically are you looking at?
Best,
Â
I am using the following function to search for the available images
def NativeSearch(oauth, geo, startdate, enddate, maxcloudpercent):
url = “https://services.sentinel-hub.com/api/v1/dataimport/nativesearchâ€
payload = {
“providerâ€: “PLANETâ€,
“item_typesâ€: œâ€œPSScene4Bandâ€],
“filterâ€: {
“typeâ€: “AndFilterâ€,
“configâ€: i
{“typeâ€: “GeometryFilterâ€, “field_nameâ€: “geometryâ€, “configâ€: geo},
{
“typeâ€: “DateRangeFilterâ€, “field_nameâ€: “acquiredâ€,
“configâ€: {“gteâ€: isodate(startdate), “lteâ€: isodate(enddate, is_end=True)}
},
{
“typeâ€: “RangeFilterâ€, “field_nameâ€: “cloud_coverâ€, “configâ€: {“lteâ€: maxcloudpercent/100} # We use maxcloudpercent=100
},
{“typeâ€: “StringInFilterâ€, “field_nameâ€: “quality_categoryâ€, “configâ€: r“standardâ€]},
{“type†: “PermissionFilterâ€, “config†: € “assets:download†]},
{“type†: “AssetFilterâ€, “config†: â “analytic_sr†]}
]
}
}
response = oauth.post(url, json=payload)
response.raise_for_status()
return response
I run our default native search with the same polygon and I got 7 results:
"acquired": "2022-03-08T08:33:20.294516Z",
"published": "2022-03-09T05:26:31Z",
"acquired": "2022-03-05T07:44:38.94697Z",
"published": "2022-03-07T03:34:26Z",
"acquired": "2022-03-05T07:44:36.47233Z",
"published": "2022-03-06T03:58:26Z",
"acquired": "2022-03-04T07:44:28.091686Z",
"published": "2022-03-05T02:21:31Z",
"acquired": "2022-03-04T07:48:45.835235Z",
"published": "2022-03-05T01:52:01Z",
"acquired": "2022-03-03T08:08:23.881687Z",
"published": "2022-03-06T06:56:31Z",
"acquired": "2022-03-02T07:43:31.594908Z",
"published": "2022-03-02T20:42:22Z",
Investigating a bit further I think the issue is in the filter
{"type": "StringInFilter", "field_name": "quality_category", "config": ["standard"]},
What we recommend you do is:
- search for
analytic_sr_udm2
- use udm2 pixel-based mask to do any furhter filtering
Best,
Thanks. I did as you suggested and I saw the missing images. However the following images still missing some meta-data (like “visible_percent†and “clear_percentâ€):
acquired: 2022-03-03T08:08:23.881687Z
published: 2022-03-06T06:56:31Z
…
acquired: 2022-03-05T07:44:36.47233Z
published: 2022-03-06T03:58:26Z
…
acquired: 2022-03-04T07:48:45.835235Z
published: 2022-03-05T01:52:01Z
Yes, this is probably the reason, why they are flagged differently with the quality.
As mentioned, we suggest to not rely on these meta-data as they are scene based - each scene is 200km2, so your area of 1 km2 is in most cases unrelated to the meta-data here…
If you use UDM2, you will be able to filtter by AOI.
Thanks a lot for your responses.
Is there a way to check for cloud cover inside the AOI only and not in the entire tile?
Yes, but you need to change your process a bit:
- use Subscriptions API to have all observed data available within Sentinel Hub as soon as possible
- use the meta-data cloud screening option similar to how we describe it for Sentinel-2
Thanks a lot.
I will follow your suggestion.
Hello!I’m a chinese user.Why can’t I see satellite pictures recently?