...
Can we determine whether MOSFIRE is on deck or on the telescope programmatically?
Determine observing by combination of multiple factors: telescope has been tracking (guiding?) recently, hatch has been open recently, telescope elevation is >0, detector has been exposing recently. These are just ideas.
Other ideas for things to check
Connected to ICE server, but probably covered in datataking system (mds ready = 1)
Check
show -s mosfire csuextname
is not noneCheck
show -s mcsus csufatal
is not 1Check
show -s mcsus OPERTEMP
is 0
Mosfire Checkout (Incomplete)
...