Skip to content

Instantly share code, notes, and snippets.

@Spaxe
Created March 29, 2016 05:17
Show Gist options
  • Save Spaxe/43dea960613c0227bf1d to your computer and use it in GitHub Desktop.
Save Spaxe/43dea960613c0227bf1d to your computer and use it in GitHub Desktop.
$ datacube-ingest -vvv ingest LS8_OLI_TIRS_NBAR_P54_GANBAR01-032_090_083_20160222
2016-03-29 16:16:45,683 INFO Matched collection u'eo' (1)
2016-03-29 16:16:45,683 INFO Indexing 3e034b98-64d9-451b-9697-2603e0b24ff2
2016-03-29 16:16:45,684 DEBUG Using provided collection 1
2016-03-29 16:16:45,695 INFO Indexed datasets LS8_OLI_TIRS_NBAR_P54_GANBAR01-032_090_083_20160222
2016-03-29 16:16:45,700 INFO Storing 1 dataset(s) using StorageType(name=u'ls8_nbar_albers', id_=5)
2016-03-29 16:16:45,738 DEBUG openening /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, band 1
2016-03-29 16:16:45,765 DEBUG Got coordinate system
2016-03-29 16:16:45,765 INFO Failed to auto identify EPSG: 7
2016-03-29 16:16:45,765 DEBUG Got coordinate system
2016-03-29 16:16:45,765 INFO Failed to auto identify EPSG: 7
2016-03-29 16:16:45,765 DEBUG Nodata success: 1
2016-03-29 16:16:45,766 DEBUG Nodata value: -999.000000
2016-03-29 16:16:45,770 DEBUG Created temp destination dataset.
2016-03-29 16:16:45,770 DEBUG CRS for temp destination dataset: PROJCS["GDA94 / Australian Albers",GEOGCS["GDA94",DATUM["Geocentric_Datum_of_Australia_1994",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6283"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4283"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",-18],PARAMETER["standard_parallel_2",-36],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",132],PARAMETER["false_easting",0],PARAMETER["false_northing",0],AUTHORITY["EPSG","3577"],AXIS["Easting",EAST],AXIS["Northing",NORTH]].
2016-03-29 16:16:45,770 ERROR CPLE_AppDefined in No PROJ.4 translation for source SRS, coordinate
transformation initialization has failed.
2016-03-29 16:16:45,771 ERROR Error opening source dataset: /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
Traceback (most recent call last):
File "/usr/local/bin/datacube-ingest", line 9, in <module>
load_entry_point('datacube==1.0.1+17.gcd270c8', 'console_scripts', 'datacube-ingest')()
File "/usr/local/lib/python2.7/site-packages/click-6.3-py2.7.egg/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/click-6.3-py2.7.egg/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/site-packages/click-6.3-py2.7.egg/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/site-packages/click-6.3-py2.7.egg/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/site-packages/click-6.3-py2.7.egg/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/ui/click.py", line 109, in new_func
return f(index, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/scripts/run_ingest.py", line 134, in ingest
store_datasets(indexed_datasets, index=index, executor=executor)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/ingest.py", line 60, in store_datasets
storage_units += create_storage_units(datasets, storage_type, executor=executor)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/ingest.py", line 105, in create_storage_units
storage_units = executor.map(_create_storage_unit, tasks)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/ingest.py", line 116, in _create_storage_unit
return storage.create_storage_unit_from_datasets(tile_index, datasets, storage_type, filename)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/storage.py", line 189, in create_storage_unit_from_datasets
_uri_to_local_path(output_uri))
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/storage.py", line 135, in write_access_unit_to_netcdf
data_var[:] = netcdf_writer.netcdfy_data(access_unit.get(name).values)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/access/core.py", line 66, in get
self._fill_data(name, index, dest)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/access/core.py", line 321, in _fill_data
su._fill_data(name, su_index, dest[dest_index]) # pylint: disable=protected-access
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/access/core.py", line 232, in _fill_data
self._storage_unit._fill_data(name, index[ndims:], dest[slicer]) # pylint: disable=protected-access
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/storage.py", line 95, in _fill_data
fuse_func=self._fuse_func)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/storage.py", line 299, in fuse_sources
reproject(sources[0], destination)
File "/usr/local/lib/python2.7/site-packages/datacube-1.0.1+17.gcd270c8-py2.7.egg/datacube/storage/storage.py", line 291, in reproject
NUM_THREADS=4)
File "/usr/local/lib/python2.7/site-packages/rasterio/warp.py", line 244, in reproject
**kwargs)
File "rasterio/_warp.pyx", line 372, in rasterio._warp._reproject (rasterio/_warp.cpp:6523)
ValueError: NULL transformer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment