lsst.sims.ocs.configuration.obs_site module

class lsst.sims.ocs.configuration.obs_site.ObservingSite[source]

Bases: lsst.pex.config.config.Config

Configuration for the observing site.

!Allocate a new Config object.

In order to ensure that all Config object are always in a proper state when handed to users or to derived Config classes, some attributes are handled at allocation time rather than at initialization

This ensures that even if a derived Config class implements __init__, the author does not need to be concerned about when or even if he should call the base Config.__init__

setDefaults()[source]

Set defaults for the Cerro Pachon observing site.

height

Telescope site’s Elevation (units=meters above sea level)

latitude

Telescope site’s Latitude (units=degrees), negative implies South.

latitude_rad

float – The observing site latitude in radians.

longitude

Telescope site’s Longitude (units=degrees), negative implies West

longitude_rad

float – The observing site longitude in radians.

name

Telescope site name.

pressure

Telescope site’s atmospheric pressure (units=millibars)

relative_humidity

Telescope site’s relative humidity (units=percent)

temperature

Telescope site’s atmospheric temperature (units=degrees C)