As per WP #6594 I have installed the latest nds2 client on the Debian 8 workstations in the control room. It is not selected as the default nds2-client. It has not been build for the Ubuntu12 systems as the workstations are being retired as quickly as possible. It is not being deployed on IFO infrastructure systems.
To use this from python you need to setup your paths first (from your bash prompt):
To use this from Matlab you need to add the nds2.jar file to your javaclasspath (from matlab):
For a quick demonstration of the client w/ gap handling enabled in matlab. This sample connects to the nds2 server, gets a channel count, enables a gap handler (fill gaps with a 1.0) and retreives data that happens to start with a gap.
>> c.countChannels('*PEM*')
ans =
124731
>> c.setParameter('GAP_HANDLER', 'STATIC_HANDLER_ONE');
>> data = c.fetch(1171743295, 1171743298, {'H1:SUS-ETMX_L3_OPLEV_BLRMS_P_300M_1'})
data =
nds2.buffer[]:
[nds2.buffer]
>> data(1).getData()
ans =
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
1.0000
0.0199
0.0198
0.0198
0.0198
...
While this is not enabled as the default nds2-client, it does fix a number of bugs in the 0.13.2 release. Please let me know if there problems.