# #HipeInstallation_demo_feb2011.py: simple script to check # if HIPE correctly installed and if HIFI data can be read # # v0.0 01/Feb/2011 ACAB: created for Feb 2011 HIFI DWPS IPAC # v1.0 09/Mar/2011 CM: Modified for March ESAC OT1 DPWS # #check that you are indeed running HIPE 6.0.3 #This can be done using the drop down #menus: #Help-->About #It should show Version 6.0.3 #It can also be checked on the command line #This should give "6.0 - 2055" print "Your HIPE version is : ", Configuration.getProjectInfo().getTrack(),"-",Configuration.getProjectInfo().getBuild() #check that an 'lstore' directory is defined #This should be OK, if you ran the script tgzfiles_to_lstore_feb2011.py #to put the data there. print "Your lstore directory is : ",Configuration.getProperty("hcss.ia.pal.pool.lstore.dir") #load an observation from lstore obs=getObservation("1342180473",poolName="1342180473_point_fsw_1b",verbose=True) #Right-click on 'obs' in Variables window-->Open With-->Observation Viewer #(next time you can simply double-click on 'obs' and the Observation Viewer # will be started by default) #if the obsid and pool name are the same: #obs=getObservation(1342180551) #Expand Level 2 #Expand 'WBS-H-LSB' #right-click on 'WBS-H-LSB'-->Open With-->SpectrumExplorer #click on box indicating product '0' #click on 'All' #you should see a plot #when you want to save your observation to lstore, #right click on 'obs'-->Send to-->lstore #This is equivalent to: #localStoreWriter(product=obs,store="poolname") #Accessing the HELP page: #click on Help-->Help Contents #Do you see the help in your browser?