Skip to content

Instantly share code, notes, and snippets.

@BexDunn
Created March 13, 2019 21:21
Show Gist options
  • Save BexDunn/50ecd576b761a021b665674011b94437 to your computer and use it in GitHub Desktop.
Save BexDunn/50ecd576b761a021b665674011b94437 to your computer and use it in GitHub Desktop.
from_kirrill display datasets
from IPython.display import GeoJSON
import datacube
from datacube.testutils.geom import epsg4326
dc = datacube.Datacube(env='s2')
GeoJSON([ds.extent.to_crs(epsg4326).__geo_interface__
for ds in dc.find_datasets(
product='s2a_nrt_granule',
time=('2019-02-03', '2019-02-03'))])
@BexDunn
Copy link
Author

BexDunn commented Mar 13, 2019

Screen Shot 2019-03-13 at 6 16 58 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment