#  This script was written by tommy while he was also driving the ship.  Please check carefully.  Some files may even be missing. :)
#did my best however.

date=14.0625
slitpa = 90.
fitsdir=archive

########################
PI=Fletcher
PID=2014A022
########################

longslit
wno0=818.756
shift = true
weight = true
subsky=true
objtype=calibration
aboo.2000

objtype=target
sumscan=false
shift=false
weight=false
subsky=true
skyint= 1 3
bounce=0.2
sat.2001
sat.2002

wno0=539.309
flat.2003
sat.2003
sat.2004

##no guiding yet since the sun is still up

bounce=-0.2
crossdisp
skyint = 1 3 28 31
wno0=585.389
hrr=9.8762
sat.2005
#ignore sat.2005 and sat.2006
sat.2007
flatmode=old
sat.2006
sat.2008
sat.2009
sat.2010
sat.2011
sat.2012

#changed wavelength to 730 for c2h2 qbranch
# we have guiding now that it is dark
skyint=1 3 40 43
hrr=9.907
wno0=730.383
#move 1.2 arcsec south after scan 2
#moved 1 west and 1 south after scan 3
#moved 2 arcse east after scan 4  
#I think I'm happy now
sat.2013
sumscan=true
sumspec=sat.c2h2
sat.2014
sat.2015
sat.2016
sat.2017
sat.2018
sat.2019
storesum

#changed wavelength 
wno0=819.092
hrr=9.943
bounce=-0.2
#i moved after the first scan to center east west.  the first scan is fine, but if i skip it I can add the other 7 scans to the other files
#flat.2020
skip=1
sat.2020
#moved 3 arcsec south inbetween these files
sat.2021

#change back to H2 S(1)
wno0=586.899
hrr=9.582
skyint= 1 3 30 33
#flat.2022
sumspec=sat.h2s1
sat.2022
sat.2023
sat.2024
sat.2025
sat.2026
sat.2027
sat.2028
sat.2029
storesum

########################
PI=Richter
PID=2014A031
########################

objtype=calibration

#  778.844 and 778.888 in order 14
#	falling off the blue ends of orders
wno0=772.8083
hrr=9.8569
aher.2030

#tried to get on AFGL 2059, but failed
#afgl2059.2031  never found it
#afgl2059.2032  never found it

objtype=target
#M8e 
shift=true
weight=true
wno0=772.811
hrr=9.8529
sumspec=m8e.777
m8eirs1.2033
m8eirs1.2034
m8eirs1.2035
m8eirs1.2036
m8eirs1.2037
m8eirs1.2038
wno0=772.151
m8eirs1.2039
m8eirs1.2040
storesum

#gone to afgl 2136
sumspec=afgl2136.777
afgl2136.2041
afgl2136.2042
afgl2136.2043
afgl2136.2044
afgl2136.2045
afgl2136.2046
afgl2136.2047
storesum


#gone to S140
#norder changed
wno0=772.808
hrr=9.857
flat.2048
sumspec=s140.777
s140.2048
s140.2049
s140.2050
s140.2051
s140.2052
s140.2053
storesum

# now to finish with AFGL 2591
hrr=9.954
wno0=772.808
sumspec=afgl2591.777
afgl2591.2054
afgl2591.2055
afgl2591.2056
#end fo 2057 is bad as the sun started to rise and we lost the guide camera
afgl2591.2057
storesum

#afgl2591.2058 and 2059 are garbage, terrible set up but were used to test
#fowler nodding and fowler scans.  All looks good

end
