Environment Variables
Environment variables are used by ska-oso-scripting to define the execution environment and which Tango devices should be controlled. This in turn modifies the behaviour of the code, giving different behaviour depending on whether the code is running in an SKA MID environment (default) or an SKA LOW environment. For example, when configured for SKA MID, connections to a subarray will connect to an SKA MID subarray, and validation code will reject CDM payloads intended for SKA LOW.
Variable |
Default value |
Description |
|---|---|---|
|
|
Controls the behaviour of telescope-specific functions to expect SKA LOW
( |
|
|
The Tango Resource Locator (TRL) of the TMC CentralNode Tango device. If left unset, an appropriate TRL for SKA MID will be used. |
|
|
Prefix to use when constructing the TRL for a TMC SubarrayNode Tango device. If left unset, an appropriate TRL prefix for SKA MID will be used. |
PGHOST |
The address of the PostgreSQL instance of the ODA. |
|
PGDATABASE |
The name of the database within a PostgreSQL instance that contains the ODA schemas. |
|
PGUSER |
The user that will be used to connect to the ODA database. |
|
PGPASSWORD |
The password for the |
|
PGPORT |
The port of the PostgreSQL instance of the ODA. |
|
|
|
Optional value, only used to capture ExecutionBlock data in a notebook session. Should be a value like |
|
|
The TMData location for SDP Script information used by oso-scripting functions to retrieve compatible script version for the deployed SDP version. |
|
|
Grace period in seconds for ska-oso-scripting’s Tango event rebroadcasting thread to gracefully exit. This is an advanced option and should normally be left at the default value. |
|
|
Sets the initial value for whether observing scripts will wait for Subarray Quality Monitor to indicate the system is ready to scan before sending the Scan command. This can be overridden at runtime via the OET UI. |