Skip to main content

I am using the FIS stats to count Barren Soil as 0 or 1. But when there’s no count, the “0” bin is missing.

How can I force it to return 2 bins, 0 and 1, even if one of the bin count is “0”

This is not possible in FIS.

I believe it should be possible in the Statistical API, which we would recommend to use over FIS as it is much more powerful. E.g. this example with custom histogram configuration:

docs.sentinel-hub.com
4360130503a7e9abd125dc1335988ba0465771bf.png


Examples of Statistical API



Statistical API examples in Python and a Postman collection. To execute them you need to create an OAuth client.








Reply