client returns bad channel names for fetch of zero-length span or full-gap span
jameson.rollins@zotws10:~ 0$ ipython3 --no-banner
In [1]: import nds2
In [2]: conn = nds2.connection('h1nds1', 8088)
In [3]: data = conn.fetch(1231646400, 1231646460, ['H1:PEM-EX_SEIS_VEA_FLOOR_Y_DQ.mean,m-trend'])
In [4]: data[0].channel.name
Out[4]: 'H1:PEM-EX_SEIS_VEA_FLOOR_Y_DQ.mean'
In [5]: data = conn.fetch(1231646460, 1231646460, ['H1:PEM-EX_SEIS_VEA_FLOOR_Y_DQ.mean,m-trend'])
In [6]: data[0].channel.name
Out[6]: 'H1:PEM-EX_SEIS_VEA_FLOOR_Y_DQ.mean,m-trend'
In [7]:
Note the difference in channel name between Out[4] and Out[6]. For the later the fetch was for a zero-length time stretch.
Edited by Jameson Rollins