Skip to content

timeseries.write("file.gwf") LAL_DETECTOR.keys is missing?

Created by: matxil

Hi,

After reading in (succesfully) an HDF5 file, I then want to save it as GWF file. With other hd5 files this normally works, but with this particular file, when I make this call: timeseries.write( "new_file.gwf" ) I get the error:

File ".../local/lib/python2.7/site-packages/gwpy/timeseries/io/gwf/lalframe.py", line 177, in write
idx = list(lalutils.LAL_DETECTORS.keys()).index(series.channel.ifo)
ValueError: None is not in list

I can only assume that somehow the timeseries is lacking some information (although I can print out correctly the t0 and duration attributes).