;+ ;PROCEDURE: mvn_sta_gen_ql,pathname=pathname ;PURPOSE: ; To generate quicklook data plots and a tplot save file ;INPUT: ; ;KEYWORDS: ; ;CREATED BY: J. McFadden 13-05-07 ;VERSION: 1 ;LAST MODIFICATION: 13-05-07 ;MOD HISTORY: ; ;NOTES: ; ;- pro mvn_sta_gen_ql,pathname=pathname,file=file ;initialize ; loadct2,43 cols=get_colors() tplot_options,verbose=2 ; load the data if not keyword_set(pathname) then pathname = 'maven/data/sci/pfp/ATLO/mvn_ATLO_pfp_all_l0_20130327_v1.dat' ; mvn_sta_l0_load,file=file mvn_pfp_l0_file_read,file=file,pathname=pathname ,/static ; mvn_sta_l0_load,pathname=pathname,file=file ; this is what the code should be when davin fixes his routine ; mvn_sta_cblk_load,pathname=pathname ; use this for commonblock files ; calibrate housekeeping mvn_sta_hkp_cal,def_lim=1 ; calibrate data mvn_sta_prod_cal ; why doesn't the following line work options,'mvn_sta_D8_R1_Time_ABCD',colors=[cols.blue,cols.green,cols.yellow,cols.red] options,'mvn_sta_D8_R1_Time_RST',colors=cols.black options,'mvn_sta_D8_R1_Time_NoStart',colors=cols.magenta options,'mvn_sta_D8_R1_Time_Unqual',colors=cols.red options,'mvn_sta_D8_R1_Time_Qual',colors=cols.green store_data,'mvn_sta_D8_R1_diag',data=['mvn_sta_D8_R1_Time_RST','mvn_sta_D8_R1_Time_NoStart','mvn_sta_D8_R1_Time_Unqual','mvn_sta_D8_R1_Time_Qual'] ylim,'mvn_sta_D8_R1_diag',100.,1.e6,1 window,0,xsize=900,ysize=1000 tplot,['mvn_sta_C0_mode','mvn_sta_C0_att'$ ,'mvn_sta_C0_P1A_tot','mvn_sta_C0_P1A_E','mvn_sta_C4_P1C_M','mvn_sta_CA_P3_A','mvn_sta_C8_P2_D'$ ,'mvn_sta_D8_R1_Time_ABCD','mvn_sta_D8_R1_diag'$ ],title=pathname ;makepng,'mvn_sta_ql_'+datetime makepng,'mvn_sta_ql_test' end