You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Background

Observations on the GBT are scheduled using the Dynamic Scheduling System (DSS). The GBT Data Sender queries this system for details about upcoming observations, and sends that data to the OSSDB via the REST API.

Note that while the DSS contains scheduled observations, observers are not constrained to following those stated intentions.

The DSS Database

To learn more about the DSS, please see the following resources:

The OSS Exporter

The exporter consists of a Django command in the nell app, which pulls values from the DSS database and pushed them to the OSS database. The read and write URLs for the database are stored in a configuration file with restricted permissions.

DSS Information

For a given looktime defined as now + 30 minutes, we first identify the observing period (look_period) and receiver (period_rx) which correspond to that time. 

look_period = Period.objects.filter(start__gte=self.looktime).order_by("start").first()

period_rx = Period_Receiver.objects.filter(period=self.look_period.id).first()

Site Data

The following information is sent as a JSON object to be a site_data entry in the OSS database.

KeyTypeValue
obs_idstring

look_period.session.name

site_idstring"gbt"
site_lat_degfloat38.433129
site_lon_degfloat-79.839839
site_elev_mfloat824.0
src_idstring

look_period.session.target.source

src_ra_deg_j2000float

look_period.session.target.vertical

src_dec_deg_j2000float

look_period.session.target.horizontal

src_radius_degfloat0.0 (TBD)
trk_rate_ra_deg_per_secfloat0.0 (TBD)
trk_rate_dec_deg_per_secfloat0.0 (TBD)
freq_lower_hzfloat

period_rx.receiver.freq_low * 1E9

freq_upper_hzfloat

period_rx.receiver.freq_hi * 1E9

src_start_utctimestamplook_period.start
src_end_utctimestamplook_period.start + look_period.duration
statusstringlook_period.state.name
notesstring

look_period.session.observing_type.type

  • No labels