###################################
##pipescript written by Greathouse 
## 7/3/21
#Using F90 version of Fife
#finished by greathouse
########################################

date=21.0703
slitpa = 0.
fitsdir=archive

#########################
PI=O'Donoghue
PID=2021A047
#########################

objtype=target

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

#we setup on saturn scanning e/w slit moving north to south at 819 cm-1 so we could see something
#we are guiding with the off axis guider

#########################################################################
###hi-med
###819
### 818.7125,5
###########################################################################

#Not in good focus

ffttort=true

wno0=818.617
hrr=9.723
sat.8000

ffttort=false

#954.6
######################################################################
##########952.8809,5
#######################################################################

#not in good focus

sumscan=true

hrr=9.819
wno0=952.970
sumspec=sat.h3oa
sat.8001
sat.8002
storesum

#########################################################################
####hi-med
####819
#### 818.7125,6
############################################################################

#Worked on fixing the focus and getting back up and running

sumscan=false

wno0=817.8597
hrr=9.831
sat.8003
sat.8004
sat.8005
sat.8006

#954.6
#######################################################################
##########952.8809,5
########################################################################

sumscan = true

hrr=9.818
wno0=952.970
sumspec=sat.h3ob
sat.8007
sat.8008
skip = 8    #lost guiding on last scan
sat.8009
storesum

#########################################################################
#####hi-med
#####819
##### 820.271,7
#############################################################################

#lost the guiding so had to resetup on Saturn

sumscan=false

wno0=819.847
hrr=9.831
sat.8010

#954.6
#######################################################################
##########952.8809,5
########################################################################

sumscan = true

hrr=9.818
wno0=952.971
sumspec=sat.h3oc
sat.8011
sat.8012
sat.8013
sat.8014
sat.8015
sat.8016
sat.8017
sat.8018
sat.8019
sat.8020
#sat.8021  probably was lost (guiding died around the flat for 8021
storesum

sat.8011
sat.8012
sat.8013
sat.8014
sat.8015
sat.8016
sat.8017
sat.8018
sat.8019
sat.8020

##Go to Callisto for divisor (plus sun is up and guiding is
#over

objtype=calibration
subsky=true
weight=true
shift=true
wno0=952.972
hrr=9.816
#nodding off the slit
sumspec=cal.h30a
cal.8023
#cal.8022   this one is pretty crappy, just toss it.
cal.8024
storesum
sumspec=cal.h30b
cal.8025
cal.8026
cal.8027
cal.8028
cal.8029
cal.8030
cal.8031
cal.8032
storesum

################################################################
PI=Encrenaz
PID=2021A008
################################################################

slitpa = 0.
shift=false
weight=false
subsky=true
skyint = 1 3
objtype=target

#########################################################################
####1345 cm-1
####strong middle line in order 5 is 1345.5380,5
#############################################################################

wno0=1344.863
hrr=9.931
ven.8034
ven.8035
ven.8036

wno0=1344.845
hrr=9.944
ven.8045
ven.8046
ven.8047

wno0=1344.858
hrr=9.935
ven.8057
ven.8058
flatmode = old
ven.8059

########################################################################
####530 cm-1
####530.409,3
##########################################################################

wno0=529.826
hrr=9.764
ven.8037
#ven.8038  was wierd, notes said to ignore
ven.8039

wno0=529.826
hrr=9.764
#ven.8048  garbage and adjusted ecehelle
ven.8049
ven.8050
ven.8051

wno0=529.825
hrr=9.766
flat.8060
ven.8060
ven.8061

########################################################################
####1157.5
##########################################################################
####right line in left hand ozone pair (middlish in order) 1162.1050,4
####################################################################

wno0=1162.0868
hrr=9.944
ven.8040
ven.8041

wno0=1161.473
hrr=9.905
ven.8052
ven.8053

wno0=1161.471
hrr=9.907
ven.8062
ven.8063

############
PI=Giles
PID=2021A015
############

#######################################################################
####793 cm-1
####794.5851,7
#######################################################################

flatmode = blk

wno0=793.310
hrr=9.890
ven.8042
ven.8043
ven.8044

wno0=793.309
hrr=9.892
ven.8055
flatmode=old
ven.8054
ven.8056

wno0=793.306
hrr=9.895
ven.8064
ven.8065

kbd
end
