dtt2hdf5 can't handle this xml file
The following exception was thrown when trying to convert a complex XML file. File is too big to be uploaded.
$ ./venv/bin/dtt2hdf ~/Documents/dtt/examplexmls/H1_DARM_FOM.xml
/home/erik.vonreis/Documents/dtt/examplexmls/H1_DARM_FOM.h5
GWINC_23W(REF3) GWINC_23W(REF3)
GWINC_23W(REF3) GWINC_50W(REF4)
BAD: GWINC_23W(REF3) GWINC_50W(REF4)
.
.
.
Many more channels are listed followed by BAD: line.
.
.
.
Traceback (most recent call last):
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/declarative/bunch/bunch.py", line 123, in __getattr__
item = self._mydict[key]
KeyError: 'FHz'
During handling of the above exception, another exception occurred:
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 67, in main
diag_DB = dtt2bunch(fpath = args.file_from, verbose = not args.quiet)
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/dttxml/dtt2bunch.py", line 111, in dtt2bunch
xfer_current = daccess.xfer(chn_A_raw, chn_B_raw)
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/dttxml/access.py", line 408, in xfer
return DiagXferHolder(self, chn_num, chn_den)
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/dttxml/access.py", line 119, in __init__
self._metadata_mirror(self.chn_den_TF)
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/dttxml/access.py", line 43, in _metadata_mirror
self.FHz = other.FHz
File "/home/erik.vonreis/projects/dttxml/.test/venv/lib/python3.7/site-packages/declarative/bunch/bunch.py", line 125, in __getattr__
raise AttributeError(E)
AttributeError: 'FHz'