############################################
##Pipescript written by Greathouse 
## 9/20/2022
##using F90 version of fife
##Finished by Greathouse on ?????? at the summit
########################################

date = 22.0920
slitpa = 0.
fitsdir = archive

##############################
PI = Coustenis
PID = 2022B020
##############################

shift=true
weight=true
subsky=true

#titan
#krot = 0

#thr=0.3
objtype = target

#no guiding yet so taking some ethane data

#819 cm-1
#though named aher they are really titan

wno0=819.0534
hrr=9.9897
sumspec=tit.819
aher.7002
aher.7000
aher.7001
aher.7003
aher.7004
storesum

#Vesta

objtype = calibration

wno0=819.7194
hrr=9.9849
ves.7005

shift=false
weight=true
subsky=true

#Titan
#538.2

objtype = target

#tit.7006  ignore this one, we didn't fix the
#focus before starting.

#We have guiding on titan throughout
wno0=538.1857
hrr=10.2322
sumspec=tit.538
tit.7007
tit.7008
tit.7009
tit.7010
tit.7011
tit.7012
tit.7013
tit.7014
tit.7015
tit.7016
#tit.7017  cirrus clouds
tit.7018
tit.7019
tit.7020
tit.7021
tit.7022
tit.7023
tit.7024
storesum

#Vesta

objtype = calibration

shift=true
weight=true
subsky=true

wno0=538.1857
hrr=10.2322
sumspec=ves.538
ves.7025
ves.7026
storesum

#Titan
#518 cm-1

#ves.7027 is really titan


shift=false
weight=true
subsky=true

objtype = target

wno0=518.5766
hrr=9.747
sumspec=tit.518
ves.7027
tit.7028
storesum

tit.7029   #1 arcsec east of nominal
tit.7030   #1 arcsec west of nominal

#We just can't detect this with the current water
#abundance in the earth atmosphere
#maybe on a very very dry night.

shift=false
weight=true
subsky=true

#took a file offset one order towards the blue.  
#there is an atmospheric line there we can 
#calibrate on and then the rest of the files will
#be shifted red by an order 0.6623 cm-1 per order

objtype = calibration

#498
#setup for wavelength
hrr=10.176
wno0=-499.155
titwave.7031

objtype = target

hrr=10.176
wno0=-498.493
titwave.7032  #searching and found titan
titwave.7033  #good file but moved 1 arcsec north after
sumspec=tit.499
tit.7034
tit.7035
#tit.7036  ended super early (nodwait was too short
tit.7037
tit.7038
tit.7039
tit.7040
tit.7041
tit.7042
tit.7043
tit.7044
tit.7045
tit.7046
storesum

#Vesta
#499 cm-1

objtype = calibration

shift=true
weight=true
subsky=true

hrr=10.176
wno0=-498.493

sumspec=ves.499
ves.7047
ves.7048
storesum

################################
PI = Engineering
PID = 2022B999
################################

weather = cirrus 

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


#2140 med mode
thr=0.25
wno0=2140.9590
jup.7049

#1248 med mode
thr=0.5
wno0=1247.7058
jup.7050
jup.7051

#IK Tau
crossdisp

shift=true
weight=true
subsky=true

wno0=586.8936
hrr=9.5902
sumspec=iktau.s1a
iktau.7052.hd
iktau.7053.hd
iktau.7054.hd
iktau.7055.hd
iktau.7056.hd
iktau.7057.hd
iktau.7058.hd
weather = 
iktau.7059.hd
iktau.7060.hd
iktau.7061.hd
iktau.7062.hd
iktau.7063.hd
iktau.7064.hd
iktau.7065.hd
iktau.7066.hd
iktau.7067.hd
iktau.7068.hd
iktau.7069.hd
storesum

objtype=calibration

#Bamberga

wno0=586.8946
hrr=9.5888
sumspec=bam.s1a
bam.7070.hd
bam.7071.hd
bam.7072.hd
bam.7073.hd
bam.7074.hd
bam.7075.hd
storesum


wno0=587.1215
hrr=10.3263
sumspec=bam.s1b
bam.7076.hd
bam.7077.hd
bam.7078.hd
bam.7079.hd
bam.7080.hd
bam.7081.hd
storesum



wno0=587.1215
hrr=10.3263

sumspec=iktau.s1b
iktau.7082.hd
iktau.7083.hd
iktau.7084.hd
iktau.7085.hd
iktau.7086.hd
iktau.7087.hd
iktau.7088.hd
iktau.7089.hd
iktau.7090.hd
iktau.7091.hd
iktau.7092.hd
iktau.7093.hd
iktau.7094.hd
iktau.7095.hd
iktau.7096.hd
iktau.7097.hd
iktau.7098.hd
iktau.7099.hd
iktau.7100.hd
iktau.7101.hd
storesum
end
