File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 50
50
from cubedash ._version import version as explorer_version
51
51
except ModuleNotFoundError :
52
52
explorer_version = "ci-test-pipeline"
53
- from datacube import Datacube
54
53
from datacube .drivers .postgres ._fields import PgDocField
55
54
from datacube .index import Index
56
55
from datacube .model import Dataset , MetadataType , Product , Range
@@ -1723,16 +1722,3 @@ def _get_shape(geometry: WKBElement, crs) -> Optional[Geometry]:
1723
1722
)
1724
1723
shape = newshape
1725
1724
return shape
1726
-
1727
-
1728
- if __name__ == "__main__" :
1729
- # For debugging store commands...
1730
- with Datacube () as dc :
1731
- from pprint import pprint
1732
-
1733
- store = SummaryStore .create (dc .index )
1734
- pprint (
1735
- store ._find_product_fixed_metadata (
1736
- dc .index .products .get_by_name ("ls8_nbar_scene" ), sample_percentage = 50
1737
- )
1738
- )
You can’t perform that action at this time.
0 commit comments