earthdaily / earthdaily-python-client

EarthDaily python client
https://earthdaily.github.io/earthdaily-python-client/
MIT License
11 stars 6 forks source link

[Perf] Implement fields query in search/datacube auth functions #30

Closed nkarasiak closed 8 months ago

nkarasiak commented 8 months ago

In order to enhance queries to EDS/SkyFox, it should be very interesting to implement fields query directly in the search. A little example :

items = eds.search('sentinel-2-l2a',
           intersects=geom,
           datetime="2023-01",
           fields={"include":[  "id",
            "type",
            "stac_version",
            "stac_extensions",
            "collection",
            "version",
            "geometry",
            "bbox",
            "properties",
            "assets.blue"]})                                                                    
nkarasiak commented 8 months ago

Solved in 6b6a1b3716a28117c3483d98fdba1e0c36d4e6df