I have checked out the new cdsutils repository at:
/opt/rtcds/cdsutils/release
This is a new repository that is intended to hold all of our python libraries and command-line utilities for interacting with the IFO, things like:
- get/write values EPICS channels
- interact with filter module switches
- average a test point for some amount of time
- etc.
Basically everything that used to be ez* or tds*.
There's not much in there at the moment, but hopefully it will start to get filled in soon.
WARNING:
This code in here will be used by the sites to interact with the real aLIGO IFOs. Please be careful as you develop things in here, and o so conscientiously. If you do bad things here and it messes things up at the sites people will be angry. Particularly me, since I have to support everything in here for Guardian use.
Usage
<cdsutils>/lib/cdsutils is the primary python library. For each function you want to add, put it in a new file named after the function. So for instance function "foo" should be in a file called <cdsutils>/lib/cdsutils/foo.py.
There is a command line utility at <cdsutils>/bin/cdsutils. It will automatically find anything you add to the library and expose it as a sub command (e.g. "cdsutils foo")
We'll try to put together a wiki page describing development and usage of this soon. |