#Greathouse is building the pipescript starting on 15th 
#With John's help tom wrapped up the piping the 16th at the summit

date=19.0815
slitpa = 0.
fitsdir=archive

#############
PI=Antunano
PID=2019B031
#############

shift=false
weight=false
subsky=true
skyint=1 3
sumscan = false
objtype=target

longslit

##1935
############################################################
#######narrow line right of double blend in center is 1937.9480
##############################################################
thr=0.25

wno0=1935.704
flat.3001
jup.3001
flatmode = old
jup.3000

wno0=1935.641
flat.3005
jup.3005

wno0=1936.078
flat.3020
jup.3020

#539 cm-1
####################################################################
########strong line on far right hand side is 539.577
######################################################################
thr=0.5

wno0=539.369
flat.3007
jup.3007

#586 cm-1
#####################################################################
########left hand line of the two middle weak lines is 586.2059
#######################################################################

wno0=587.237
flat.3008
jup.3008


#744 cm-1
###################################################################
########tom used left line of middle two narrow features is 744.2074
#####################################################################

wno0=744.661
flat.3009
jup.3009
jup.3010

#762 cm-1
###############################################################
#######used right hand peak of strong dubblet on the left 760.4873
##########################################################

wno0=762.738
flat.3011
jup.3011
jup.3012

#819 cm-1
#####################################################################
########4th line from the right is 818.7125
######################################################################

wno0=820.063
flat.3013
jup.3013


#1248 cm-1
########################################################################
#### right line of ch4 p9 triplet = 1246.452
###############################################################

wno0=1247.725
flat.3014
jup.3014


#2140
###############################################################
#CO line left hand of the strong doublet, 2135.5466
###############################################################

###############################################################
#first deep line to the right of the central transparent window, 2145.467
###############################################################
thr=0.25

wno0=2141.888
flat.3003
jup.3003

wno0=2141.988
flat.3022
jup.3022

#2035
##############################################################
#narrow line right of strongest line in setting and left of 
#a doublet 2042.9510
##############################################################

wno0=2042.086
flat.3004
jup.3004

wno0=2042.226
flat.3023
jup.3023

#2125
################################################
#left line of strong set of three center right 2127.6829
########################################################################

wno0=2127.314
flat.3002
jup.3002

wno0=2127.447
flat.3006
jup.3006

wno0=2127.415
flat.3021
jup.3021

#966
########################################################################
########used 3rd line right of the weakest featur in the middle is 966.2504
###########################################################
thr=0.5

wno0=967.175
flat.3015
jup.3015
jup.3016
jup.3017

#900
##############################################################################
########strongest line in this setting 908.9538
###################################################################

wno0=900.259
flat.3018
jup.3018

#1165
########################################################################
###strongest line in setting is 1174.55
##################################################################

wno0=1168.601
flat.3019
jup.3019

crossdisp

##########
PI = Tsang
PID = 2019B004
##########

shift=true
weight=true
subsky=true

objtype=calibration
#Callisto 530 cm-1
#
#530.409,3
wno0=529.691
hrr=10.014
flat.3024
sumspec=cal.15a
cal.3024
storesum

objtype=target

#io

sumspec=io.15a
io.3025
io.3026
io.3029
io.3030
io.3031
io.3032
io.3033
io.3034
storesum

weather = terrible
io.3027  #garbage
io.3028  #garbage
weather =

#Callisto

sumspec=cal.15b
cal.3035
storesum

#Io
objtype=target

sumspec=io.15b
io.3036
io.3037
io.3038
io.3039
io.3040
io.3041
io.3042
io.3043
storesum


#callisto
#

objtype=calibration

sumspec=cal.15c
cal.3044
cal.3045
storesum

#io
objtype=target

sumspec=io.15c
io.3046
io.3047
io.3048
io.3049
io.3050
io.3051
only = 14 16
io.3052
skip = 4 8
io.3053
storesum


#callisto

objtype=calibration

sumspec=cal.15d
cal.3054
storesum

#############
PI = Blake
PID=2019B045
#############

slitpa = 90.
shift=false
weight=false
subsky= true
skyint = 1 3
sumscan=false

objtype=target
#Saturn
#We have guiding

#819 cm-1 medium mode
#####################################################################
########4th line from the right is 818.7125
######################################################################
longslit
wno0=820.592
flat.3055
sat.3055

crossdisp

#819 cm-1 hi-med
#####################################################################
########820.2710,6
######################################################################

wno0=819.714
hrr=9.992
flat.3056
sat.3056

#1248 cm-1 hi-med
########################################################################
#### right line of ch4 p9 triplet = 1246.452,3
###############################################################
sumscan=true

wno0=1247.564
hrr=9.899
flat.3057
sumspec=sat.ch4
sat.3057
sat.3058
sat.3059
sat.3060
sat.3061
sat.3062
sat.3063
sat.3064
sat.3065
storesum

sat.3057
sat.3058
sat.3059
sat.3060
sat.3061
sat.3062
sat.3063
sat.3064
sat.3065

############
PI = Soam
PID=2019B020
############

slitpa = 45.
shift=false
weight=false
subsky = true

ffttort = true

#815.5976,6
#nominal position
wno0=815.049
hrr=10.029
sumspec=ic63.s2
ic63.3066
ic63.3069
ic63.3070
ic63.3071
ic63.3072
ic63.3073
ic63.3074
storesum

#1.4 arcsec north
ic63.3067

#1.4 arcsec south of nominal
ic63.3068

ffttort = false

############
PI = Harper
PID=2019B035
############

slitpa = 0.
shift=true
weight=true
subsky=true

#S Per
#557 cm-1 Fe II
#
#556.119616,1   

wno0=556.922
hrr=9.863
flat.3075
sumspec=sper.fe2
sper.3075
sper.3076
sper.3077
sper.3078
storesum

#Vesta

objtype=calibration

sumspec=vesta.fe2
ves.3079
ves.3080
ves.3081
ves.3082
storesum

#SU Per
objtype=target

sumspec=super.fe2
super.3083
super.3084
super.3085
super.3086
super.3087
super.3088
super.3089
super.3090
super.3091
super.3092
super.3093
super.3094
super.3095
super.3096
storesum

############
PI = Fuchs
PID=2019B034
############

#John Lacy wrote this part

ffttort=true

#       aug19/15        looking at Fuchs data

weight = true
shift = true
subsky = true
#mongo = true

#       Al2O at 988 cm-1

setwno  # 986.6939 in 4
hrr = 9.865
wno0 = 988.020
mugem.3097

objtype=calibration
acma.3098

#       guiding poor

objtype=target
vycma.3099

#vycma.3100     # junk

#       SO2 at 1137 cm-1

setwno  # 1138.3623 in 8
hrr = 9.850
wno0 = 1137.037
vycma.3101

objtype=calibration
acma.3102

#       SO2 at 1130 cm-1

setwno  # 1127.7294 in 3
hrr = 9.853
wno0 = 1129.749
skip = 1 3
acma.3103

objtype=target
vycma.3104

#       SO2 at 1123 cm-1
#       #       sources rising and tracking improving

setwno  # 1122.4008 in 6        left of 3 in middle
hrr = 9.850
wno0 = 1122.468
vycma.3105

objtype=calibration
acma.3106

#acma.3107      junk

#       TiO2 at 935 cm-1
setwno  # 934.8945 in 5
hrr = 9.850
wno0 = 935.057
acma.3108

objtype=target
vycma.3109

#       TiO2 at 941 cm-1
setwno  # 940.5481 in 4
hrr = 9.850
wno0 = 941.019
vycma.3110

objtype=calibration
acma.3111

#       SiH4 and TiO2 at 907 cm-1
setwno  # 906.7506 in 3 and others disagree.  is fl wrong?
hrr = 9.83
wno0 =907.2756
#       accidentally set nsum high
acma.3112

objtype=target
vycma.3113

#       SiH4 and TiO2 at 911 cm-1
setwno  # 913.977 in 7, 910.708 in 2 agree
hrr = 9.82
wno0 = 911.910
vycma.3114

objtype=calibration
skip = 7 9
acma.3115

#       SiH4 and TiO2 at 916 cm-1
setwno  # 913.977 in 1, 916.582 in 5 agree
hrr = 9.82
wno0 = 916.5439
acma.3116

objtype=target
vycma.3117

#       SiH4 and TiO2 at 921 cm-1
setwno  # 921.3933 in 4, 922.1361 in 5 don't quite agree
hrr = 9.84
wno0 = 921.8342
vycma.3118

objtype=calibration
acma.3119

ffttort=false

kbd
end

