Skip to content

Instantly share code, notes, and snippets.

@Spaxe
Created March 29, 2016 04:55
Show Gist options
  • Save Spaxe/aba0f07b522e4f6a76b5 to your computer and use it in GitHub Desktop.
Save Spaxe/aba0f07b522e4f6a76b5 to your computer and use it in GitHub Desktop.
ingestion error
$ datacube-ingest -v ingest LS8_OLI_TIRS_NBAR_P54_GANBAR01-032_090_083_20160222/
2016-03-29 15:54:03,252 INFO Matched collection u'eo' (1)
2016-03-29 15:54:03,252 INFO Indexing cff1bd88-89bd-4516-9d27-a11e040942ce
2016-03-29 15:54:03,260 INFO Indexed datasets LS8_OLI_TIRS_NBAR_P54_GANBAR01-032_090_083_20160222
2016-03-29 15:54:03,264 INFO Storing 1 dataset(s) using StorageType(name=u'ls8_nbar', id_=8)
2016-03-29 15:54:03,275 INFO Failed to auto identify EPSG: 7
2016-03-29 15:54:03,276 INFO Failed to auto identify EPSG: 7
2016-03-29 15:54:03,276 ERROR CPLE_AppDefined in No PROJ.4 translation for source SRS, coordinate
transformation initialization has failed.
2016-03-29 15:54:03,276 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