NDS2 (gwpy.io.nds2)#

Wrapper to the nds2-client package, providing network access to LIGO data.

Functions#

auth_connect(host[, port])

Open an nds2.connection handling simple authentication errors.

connect(host[, port])

Open an nds2.connection to a given host and port.

find_channels(channels[, connection, host, ...])

Query an NDS2 server for channel information.

get_availability(channels, start, end[, ...])

Query an NDS2 server for data availability.

host_resolution_order(ifo[, env, epoch, ...])

Generate a logical ordering of NDS (host, port) tuples for this IFO.

minute_trend_times(start, end)

Expand a [start, end) interval for use in querying for minute trends.

parse_nds_env([env])

Parse the NDSSERVER environment variable into a list of hosts.

Classes#

NDSWarning

Warning about communicating with the Network Data Server.

Nds2ChannelType(*values)

NDS2 channel type with descriptive name.

Nds2DataType(*values)

NDS2 data type with descriptive name.

Class Inheritance Diagram#

digraph inheritance291eaba20c { bgcolor=transparent; rankdir=TB; size="8.0, 12.0"; "Enum" [URL="https://docs.python.org/3/library/enum.html#enum.Enum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Create a collection of name/value pairs."]; "Flag" [URL="https://docs.python.org/3/library/enum.html#enum.Flag",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Support for flags"]; "Enum" -> "Flag" [arrowsize=0.5,style="setlinewidth(0.5)"]; "IntFlag" [URL="https://docs.python.org/3/library/enum.html#enum.IntFlag",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Support for integer-based Flags"]; "ReprEnum" -> "IntFlag" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Flag" -> "IntFlag" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NDSWarning" [URL="../gwpy.io.nds2.NDSWarning/#gwpy.io.nds2.NDSWarning",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Warning about communicating with the Network Data Server."]; "Nds2ChannelType" [URL="../gwpy.io.nds2.Nds2ChannelType/#gwpy.io.nds2.Nds2ChannelType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="NDS2 channel type with descriptive name."]; "_Nds2Enum" -> "Nds2ChannelType" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Nds2DataType" [URL="../gwpy.io.nds2.Nds2DataType/#gwpy.io.nds2.Nds2DataType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="NDS2 data type with descriptive name."]; "NumpyTypeEnum" -> "Nds2DataType" [arrowsize=0.5,style="setlinewidth(0.5)"]; "_Nds2Enum" -> "Nds2DataType" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NumpyTypeEnum" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="`~enum.Enum` of numpy types."]; "Enum" -> "NumpyTypeEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ReprEnum" [URL="https://docs.python.org/3/library/enum.html#enum.ReprEnum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Only changes the repr(), leaving str() and format() to the mixed-in type."]; "Enum" -> "ReprEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "_Nds2Enum" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Base class for NDS2 enums."]; "IntFlag" -> "_Nds2Enum" [arrowsize=0.5,style="setlinewidth(0.5)"]; }