<reponame>mzaglia/stac.py<filename>examples/bbox.py
#!/usr/bin/env python
# coding: utf-8

#%%
import stac

#%%
s = stac.STAC('http://brazildatacube.dpi.inpe.br/bdc-stac/0.8.1/', True)

#%%
s.catalog

#%%
collection = s.collection('C4_64_16D_MED')
collection
#%%
items = collection.get_items(filter={'bbox':'-56.86523437500001,-15.919073517982413,-53.17382812500001,-13.902075852500483', 'time':'2016-09-13/2019-12-31'})
items

#!/usr/bin/env python
# coding: utf-8

#%%
import stac

#%%
s = stac.STAC('http://brazildatacube.dpi.inpe.br/bdc-stac/0.8.1/', True)

#%%
s.catalog

#%%
collection = s.collection('C4_64_16D_MED')
collection
#%%
items = collection.get_items(filter={'bbox':'-56.86523437500001,-15.919073517982413,-53.17382812500001,-13.902075852500483', 'time':'2016-09-13/2019-12-31'})
items
#!/usr/bin/env python # coding: utf-8 #%% #%% #%% #%% #%%