lsst.sims.ocs.utilities.session_info module

lsst.sims.ocs.utilities.session_info.get_hostname()[source]

Get the hostname from the environment.

Returns:str – The hostname of the simulation running computer.
lsst.sims.ocs.utilities.session_info.get_user()[source]

Get the username from the environment.

Returns:str – The usename of the simulation runner.
lsst.sims.ocs.utilities.session_info.get_version()[source]

Get the version of the software.

This function returns the version of the software.

Note

In order to delineate the new version of the Operations Simulator from version 3, a 4 is prepended to the actual software version number.

Returns:str – The version number for the simulation software.