parse_nds_env#
- gwpy.io.nds2.parse_nds_env(env: str = 'NDSSERVER') list[tuple[str, int | None]][source]#
Parse the NDSSERVER environment variable into a list of hosts.
- Parameters:
- env
str, optional Shell environment variable name to use for server order. Default is
"NDSSERVER". The contents of this variable should be a comma-separated list ofhost:portstrings, e.g."nds1.server.com:80,nds2.server.com:80".
- env
- Returns: