Created
March 29, 2016 23:10
-
-
Save Spaxe/7eea4f404fa39fadc4afec9d7608afb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> /usr/local/lib/python2.7/site-packages/datacube-1.0.1+20.g0cfa148.dirty-py2.7.egg/datacube/storage/storage.py(340)open() | |
339 _LOG.debug("openening %s, band %s", filename, bandnumber) | |
--> 340 with rasterio.open(filename) as src: | |
341 self.transform = src.affine | |
ipdb> | |
2016-03-30 10:09:55,373 DEBUG Got coordinate system | |
2016-03-30 10:09:55,373 INFO Failed to auto identify EPSG: 7 | |
2016-03-30 10:09:55,376 DEBUG Got coordinate system | |
2016-03-30 10:09:55,376 INFO Failed to auto identify EPSG: 7 | |
2016-03-30 10:09:55,377 DEBUG Nodata success: 1 | |
2016-03-30 10:09:55,377 DEBUG Nodata value: -999.000000 | |
> /usr/local/lib/python2.7/site-packages/datacube-1.0.1+20.g0cfa148.dirty-py2.7.egg/datacube/storage/storage.py(341)open() | |
340 with rasterio.open(filename) as src: | |
--> 341 self.transform = src.affine | |
342 self.crs = src.crs | |
ipdb> a | |
self = <datacube.storage.storage.DatasetSource object at 0x116db1d90> | |
ipdb> src | |
<open RasterReader name='/Users/ho03b/landsat/nci/LS8_OLI_TIRS_NBAR_P54_GANBAR01-032_090_083_20160222/scene01/LS8_OLI_TIRS_NBAR_P54_GANBAR01-032_090_083_20160222_B6.tif' mode='r'> | |
ipdb> src.affine | |
Affine(25.0, 0.0, 131000.0, | |
0.0, -25.0, 6435000.0) | |
ipdb> src.crs | |
{'init': u'epsg:28356'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment