Skip to content

AURORA DC power control SOP

This will contain details on how to remote control the DC side of the AURORA Science System.

There are two ways to do that:

(1) By powering off / on devices that are controlled by the ADAM units. (2) By powering off / on devices that are controlled by the Campbell logger.

Devices controlled by ADAM units:

Here is a list of the keywords describing the things you can turn on/off with adam scripts (only including things important for general ops):

'12outb'      -- 12V output port, currently empty
'12outa'      -- 12V output port to menapia dock
'met'.        -- Vaislal met station
'smartflux'.  -- Licor smartflux
'gopro'.      -- The mobotix cameras POE switch (no longer gopros)
'wxcam'.      -- WxCam  
'wan'         -- The Starlink Space Laser
'sci48'       -- This toggles on/off ALL of the DC going to the ASS from the APS side (this will turn off the ASS computer)

To toggle any of this on, run: python /home/aurora/scripts/adam/adamtoggle.py -n 'met' -on

To toggle any of these off, run: python /home/aurora/scripts/adam/adamtoggle.py -n 'met' -off

To check which ones are on or off currently, run: python /home/aurora/scripts/adam/adamtoggle.py -s

Devices controlled by Campbell logger:

To power on/off DC devices that are controlled by the Campbell logger, you currently need to edit the python script:

/home/aurora/scripts/asfs/send_asfs_power_config.py

Once you've edited it with the configuration you want, run the python script, and this will send the new config to the campbell logger. It will update on the next logger cycle, so it might take ~15s or so to actually turn stuff off / on.

The switches you can set in this file are listed below. For ease, there is also an 'off_str' defined, if you uncomment the line #chan_str = off_str then you can turn everything off without havig to go through and change every default setting to zero.

# what sensors are powered right now? these correspond to the physical switches on the "DC control module"
# 1==on; 0==off
chan1_sonic_heat    = 1 --- sonic heater
chan2_sonic_power   = 1 --- sonic power
chan3_licor_sensor  = 1 --- licor sensor
chan4_spn1_heat     = 1 --- spn1 heater
chan5_enclosure_fan = 1 --- enclosure fan in the ASS
chan6_spn1_sensor   = 1 --- spn1
chan7_swd_sensor    = 1 --- sr300 sky sensor
chan8_swu_sensor    = 1 --- sr300 snow sensor
chan9_snow_pinger   = 1 --- snovue
chan10_lwd_fan      = 1 --- ir20 sky fan
chan11_lwd_heat     = 1 --- ir20 sky heater
chan12_lwu_fan      = 1 --- ir20 snow fan
chan13_lwu_heat     = 1 --- ir20 snow heater
chan14_lwd_heat     = 1 --- ir20 sky other heater
chan15_lwu_heat     = 1 --- ir20 snow other heater
chan16_kt15         = 1 --- kt15 sensor

# these are "bits" that set various parameters in the code that change station operation
bit17_swd_heat        = 1 --- sr300 sky heater
bit18_swu_heat        = 1 --- sr300 snow heater
bit19_swd_fan         = 1 --- sr300 sky fan
bit20_swu_fan         = 1 --- sr300 snow fan
bit21_metek_heat_mode = 1 --- set metek heating mode (detail in logger code)
bit22_lw_fan_turbo  = 1   --- sets speed of vu01 fans (detail in logger code)