# pipescript for sep12/36
### clear
### start on Jupiter hotspot observations
### verified Europa-hotspot offsets from Trafton
### verified that North is at the top of the slit (for acquiring limb of hotspot)

date = 12.1006
fitsdir=archive
slitpa = 180.

######################
PI=Trafton
PID=2012B066
######################

objtype=target

shift = false
weight = false
subsky = false

# set for H3+ at 1220.5 cm^-1
#wno0 = 1220.5 #initial guess
#setwno  # used line at 1223.156 in 8th order
wno0 = 1221.061
hrr = 9.913
jup.8000
#jup.8001-8002 garbage (left autosave on during continuous)

# set for 1135.5
#wno0 = 1135.5 # initial guess
setwno # line at 1135.186 in 4 or 1134.254 in 3
wno0 = 1136.254
hrr = 9.955
sumspec = jup.1135
skip = 1 4
jup.8003
skip = 13
jup.8004
jup.8005
jup.8006
jup.8007
jup.8008
jup.8009
storesum

# tried settings at 1188 in 6th order. single filter has fringing. 
# CVF has severe leakage from 3rd? and other orders
# short slit, 5"; rejected 7th order, because grating angle > 69deg

#wno0 = 1188.0 # initial guess
#setwno ## using 1186.1292 in 5 or 1187.8785 in 8
wno0 = 1187.250
hrr = 9.946
sumspec = jup.1188
jup.8010
skip = 16
# went to nsum = 6
jup.8011
jup.8012 # filter(?) fringing isn't subtracting
## nsum back to 4, worried about fringing cancellation
jup.8013
# bad fringing subtraction for 8014, 2-4
jup.8014
jup.8015
#set nsum=6
jup.8016
storesum

######################
PI=Wang
PID=2012B027
######################

objtype=target

## preparing for blind offset from bright star, to scan 
## SNR for H2 S(2)
## 1246 cm^-1, med mode, on CVF, longslit
## boresited and focused on eta Gem, 
## Eric V is checking pointing on several nearby stars
## offsets accurate to 1.5" in East-West direction
## scan will be +20 -20 E to W
## offset 20 E 0 N, steps -0.7 E 0 N, 58 pts
## watching offset star while scanning

longslit
bounce = 0.1
shift=false
weight=false
subsky=true
skyint = 1 3
sumscan=false
#wno0 = 1246
#setwno # line at 1245.7654
wno0 = 1245.875
ic443.8017 # clump C from user list, new ic443 coordinates
# moved -1.6E 0.7N
ic443.8018 # tracking adjustments were implemented backwards
#adjusted guide star -2.6E, 0.2N; adjusted rates
ic443.8019 #
#moved 0.3W 1N
skip = 4
ic443.8020 # scan 4 is garbage
# had to restart TCS
wno0 = 1245.872
ic443.8021 #
# afterwards -3.1E 1.4N, adjusted rates
ic443.8022 # crossed meridian
# large tracking offsets-- 3W 3N, changed rates
ic443.8023 #
## had to correct by 3W 3.7N, changing rates again
ic443.8024 # in scans 1 and 2, we saw the offset watch star hit the center 
# point at the right time
# indicating the rates are OK. Afterward, the sky is too bright to continue 
# watching the offset star. 
ic443.8025 # just going again
# went to eta Gem for pointing reference.
# Boresite good to <0.5". Focus still good.
ic443.8026   # aborted after 1 scan, big grating shift and weird continuum 
wno0 = 1246.003
ic443.8027   # will need a new setwno. still shifting grating
ic443.8028	

end

