Newby-question here:
/stats returns often show millions of “counts” for my searches. for example:
{
"count": 10181598,
"start_time": "2016-01-01T00:00:00.000000Z"
},
Compared to the planet explorer GUI online results with what is (I assume) the same filters, this is an extraordinary difference. I imagine that some of the metadata type files are also included in the “count” in this example, but it still seems like a very high number for my search criteria (which included, for this example, included item_type, permission, publishing, cloud, daterange, and geometry filters all fairly strict).
How should I interpret the “count” value from the endpoint response?
Are there indeed over 10 million images that meet this criteria?
Here is the filter structure for this search:
# Search filter setup
item_type = <"PSScene"]
AssetFilter = {
"type": "AssetFilter",
"config": r"ortho_analytic_4b", "ortho_analytic_4b_sr"]
}
PublishingFilter = {
"type": "StringInFilter",
"field_name": "publishing_stage",
"config": r"standard", "finalized"]
}
PermissionFilter = {
"type": "PermissionFilter",
"config": r"assets:download"]
}
df3 = {
"type": "DateRangeFilter",
"field_name": "acquired",
"config": {
"gte": "2016-10-01T00:00:00.000Z",
"lte": "2017-04-30T00:00:00.000Z",
}
}
cloud_filter = {
"type": "RangeFilter",
"field_name": "cloud_cover",
"config": {
"lte": 0.1
}
}
# Geometry used for filter uploaded to collection using Features API
geometry_filter = {
"type": "ref",
"content": "pl:features/my/test_aoi-JvVYxPZ/0d7XB5g", #Total sqkm= 2.35
}
and_filter3 = {
"type": "AndFilter",
"config": rdf3, cloud_filter, PublishingFilter, PermissionFilter, AssetFilter]
}
request = {
"item_types": item_type,
"geometry": geometry_filter,
"interval": "year",
"filter": and_filter3
}
#...remainder of code inquiring with /stats
It could also be entirely possible I have constructed something very wrong...