dtt2hdf5 can't convert a simple xml file
The following file has only a brief sample of the strain from L1, but dtt2hdf5 throws an exception.
/home/erik.vonreis/Documents/dtt/examplexmls/strain.h5
L1:GDS-CALIB_STRAIN L1:GDS-CALIB_STRAIN
Traceback (most recent call last):
File "./venv/bin/dtt2hdf", line 11, in <module>
load_entry_point('dttxml==1.1.0', 'console_scripts', 'dtt2hdf')()
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/dttxml/dtt2hdf.py", line 72, in main
hdf.update_recursive(diag_DB)
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/declarative/bunch/hdf_deep_bunch.py", line 276, in update_recursive
recursive_action(self, data_dict)
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/declarative/bunch/hdf_deep_bunch.py", line 260, in recursive_action
subsubref = subref[key]
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/declarative/bunch/hdf_deep_bunch.py", line 139, in __getitem__
item = hdf[key]
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/h5py/_hl/group.py", line 288, in __getitem__
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'ASD' doesn't exist)"
Edited by Erik von Reis