Reports until 09:30, Tuesday 24 May 2016
H1 CDS
james.batch@LIGO.ORG - posted 09:30, Tuesday 24 May 2016 (27348)
NDS2 client software updated
WP #5886

The NDS2 client software has been updated to nds2-client-0.12.1 for Ubuntu 12.04 and Ubuntu 14.04 workstations in the control room.  Changes since the previous 0.11.6 version include:

* Added a set_parameter call to allow default settings on the connection to be changed
* No longer using sqlite database for nds2
* Can set epochs [start,stop) ranges to reduce channel list size on nds2 queries (also constrains data)
* Added a version string to the SWIG interface
* The system now defaults to it being an error condition when is on tape.
   - this can be overridden in the environment or through a call to set_parameter(‘ALLOW_DATA_ON_TAPE’, 1)
* Added a new swig backend which is released as a seperate interface for testing.
  Currently exposed through the ‘nds’ module/namespace.  It is expected that this backend
  will become the default in the near future.
  - includes the ability to count the number of channels available
  - includes full gap handling (for both fetch and iterate)
  - includes the ablilty to get detailed channel availability information
* Added Octave bindings for the C++ interface

Note that the user environment setup scripts set NDS2_CLIENT_ALLOW_DATA_ON_TAPE=1 to allow data searches to request data from tape.  If you don't want your search to proceed if data is on tape, you'll have to set the environment variable to 0 before the query, and be prepared to handle the error condition.