#!/bin/csh -f

# 20090712
# attempting a dark analysis using a range of temperatures.  

dettool -pretend -dbname gpc1 -definebyquery \
  -det_type DARKTEST \
  -workdir neb://@HOST@.0/gpc1/detrend.20090712 \
  -inst GPC1 \
  -select_ccd_temp_min -76 \
  -select_pon_time_min 160000 \
  -select_dateobs_begin 2009-04-01T00:00:00 \
  -select_dateobs_end 2009-07-15T10:00:00 \
  -select_exp_type dark \
  -comment 'darks_%' \
  -use_begin 2009-01-01 \
  -random_subset \
  -random_limit 41
