#Greathouse is building the pipescript starting on 13th, but will
#finish it on the 14th.
#All the data has been piped!

date=19.0813
slitpa = 0.
fitsdir=archive

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

objtype=target

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

longslit

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

wno0=1936.805
flat.1002
jup.1002

wno0=1936.771
flat.1017
jup.1017

wno0=1936.556
flat.1026
jup.1026

wno0=1936.729
flat.1035
jup.1035

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

wno0=539.590
flat.1007
jup.1007
flatmode = old
jup.1006

wno0=539.573
flat.1021
jup.1021
jup.1022
jup.1023

wno0=539.547
flat.1039
jup.1039

wno0=539.547
flat.1041
jup.1041
flatmode = old
jup.1040

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

wno0=587.708
flat.1008
jup.1008

wno0=587.656
flat.1024
jup.1024

wno0=587.667
flat.1042
jup.1042

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

wno0=745.086
flat.1009
jup.1009

wno0=745.074
flat.1025
jup.1025

wno=745.036
flat.1027
jup.1027
jup.1028

wno0=745.040
flat.1043
jup.1043

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

wno0=763.228
flat.1010
jup.1010

wno0=763.178
flat.1029
jup.1029

wno0=763.173
flat.1044
jup.1044

wno0=763.174
flat.1046
jup.1046
flatmode = old
jup.1045

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

wno0=820.579
flat.1030
jup.1030

wno0=820.538
flat.1047
jup.1047

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

wno0=1249.358
flat.1011
jup.1011

wno0=1249.343
flat.1031
jup.1031

wno0=1249.377
flat.1048
jup.1048


#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=2144.141
flat.1004
jup.1004

wno0=2143.035
flat.1019
jup.1019

wno0=2142.985
flat.1037
jup.1037


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

wno0=2043.334
flat.1005
jup.1005

wno0=2043.492
flat.1020
jup.1020

wno0=2043.290
flat.1038
jup.1038


#2125
################################################
#left line of strong set of three center right 2127.6829
########################################################################
#Wrong order so different stretch
wno0=2126.709
flat.1003
jup.1003

wno0=2128.563
flat.1018
jup.1018

wno0=2128.710
flat.1036
jup.1036


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

wno0=968.743
flat.1012
jup.1012
jup.1013

wno0=968.844
flat.1032
jup.1032

wno0=968.851
flat.1049
jup.1049
jup.1050

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

wno0=901.240
flat.1014
jup.1014

wno0=901.525
flat.1033
jup.1033

wno0=901.647
flat.1051
jup.1051

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

wno0=1170.519
flat.1015
jup.1015

ffttort = true

wno0=1170.533
flat.1016
jup.1016

ffttort = false

wno0=1170.494
flat.1034
jup.1034

wno0=1170.708
flat.1052
jup.1052

########################################################################
########################################################################

crossdisp

PI = Harper

shift=true
weight=true
subsky=true

#RW Cyg
#
#557 cm-1 Fe II

#556.119616,1   
#I got this wavelength for the CO2 line at the IRTF from an old email
#from Graham that takes into account pressure broadening at IRTF
wno0=556.8531
hrr=9.991
flat.1053
sumspec=rwcyg.fe2
rwcyg.1053
rwcyg.1054
rwcyg.1055
rwcyg.1056
skip = 6 16
rwcyg.1058
rwcyg.1061
rwcyg.1062
storesum

weather = terrible
rwcyg.1057   #pretty poor
rwcyg.1059  #pretty poor
rwcyg.1060  #pretty poor
weather =

#Mu Cep

sumspec=mucep.fe2
mucep.1063
mucep.1064
mucep.1065
mucep.1066
storesum

objtype=calibration

#Asteroid Europa
#not really bright enough
sumspec=eur.fe2
eur.1067
eur.1068
eur.1069
eur.1070
storesum

objtype=target

#V358 Cas
sumspec=v358cas.fe2
v358.1071
skip = 1 6
v358.1074
v358.1075
v358.1076
v358.1077
v358.1078
skip = 1 8
v358.1079
v358.1081
v358.1082
storesum

weather = terrible
v358.1072  #pretty poor i think the oscillation started at this point
v358.1073  #terrible
v358.1080  #pretty poor
weather =

objtype=calibration

#Vesta

sumspec=ves.fe2
ves.1083
ves.1084
ves.1085
ves.1086
ves.1087
ves.1088
only = 1 10
ves.1089
storesum


kbd
end

