Syncing: cd directory rsync -tr * sbukeis@133.74.197.103:~/data/staging/directory daily_merge_1 ccsds fetch daily_merge_3 status reformat daily_merge_8 md decompress daily_merge_9 md reformat daily_merge_10 local fits compress daily_merge_11 copy to DARTS daily_merge_15 cleanup Time conversion files: /san_solar/disk3/disk42/solarstrg/data/SOLAR-B/TIMSET/ Orbit data: /home/flare/com/cp/orbit/latest/output/orbit.data In ~/work/pass_list: parse_contact_file.pl 20061108 pass_list.txt > 20061108_contacts.txt To get daily dr dump of the day before: daily_passes.pl 20061108 Usually get many sts files for the same start time - get rid of them Make status fits files: auto_mk_fits,'$HOME/work/localdata/sdtp/status/20061115','$HOME/work/localdata/sdtp/fits/status/20061115/' Make plots eis_daily_plots,'$HOME/data/status/2006/10/21/','$HOME/work/tmp/','21-Oct-06 00:00:00' eis_daily_plots,'$HOME/work/localdata/sdtp/fits/status/20061107/','$HOME/work/localdata/sdtp/plots/20061107/' hk1_temperatures,'/home/matt/DARTS/20060925/fits/','/home/matt/DARTS/20060925/pdfs','26-Sep-06 00:00:00' ps2pdf13 in.ps out.pdf sc_time,'/home/matt/DARTS/20060925/fits/','/home/matt/DARTS/20060925/pdfs','26-Sep-06 00:00:00' plot_hk2,'/home/matt/DARTS/20060925/fits/','/home/matt/DARTS/20060925/pdfs','26-Sep-06 00:00:00' plot_aocs,'/home/matt/DARTS/20060925/fits/','/home/matt/DARTS/20060925/pdfs','26-Sep-06 00:00:00' eis_read_fits_data, file, parameter, header_number, header=a_header eis_read_fits_header, file, header_number Mission Data Get and check ms headers: touch hdrs.txt foreach i ( `ls` ) ccsds_md_hdr_dump.pl $i >> hdrs.txt end To check ccsds sequence continuity: touch ccsds.txt foreach i (`ls eis*`) ccsds_check.pl -s $i >> ccsds.txt foreach? end Decompressed files automatically go to $HOME/work/localdata/sdtp/decompressed eis_md_decomp,'$HOME/work/localdata/file' eis_md_decomp_script,'$HOME/work/localdata/sdtp/md' Fits reformatting: fits_script,dir='$HOME/work/localdata/sdtp/decompressed/20061111/' Daily ops: daily_status [sdate] [edate] Automatic script: 1. run rs.sh gets the ccsds packets 2. run reformatter (3 run hk1_temperatures, etc) 4 move files to correct location in DARTS and gzip 5 notify mssl 6. update rs.sh with next day's date set PATH="/usr/../...:/dfdf/dfdf:/dfd" set PATH=${PATH}:/home/sbukeis/bin rehash real_new sdate=20061019 stime=0952 etime=1006 GNA edate=20061020 memxtract archive | mem_recon.pl address IDL t = read_fits_data('/data1/eis/fits/status/2006_04_01/st_data_2006_04_01_0952451420_STS1.fits','MDP_TIME',10) IDL> help,t T LONG = Array[2779] plot: plot,t(1:2778)-t(0:2777) plot,t,/ynozero,xrange=[1300,1400] IDL> t1=t(1:2778)-t(0:2777) IDL> print,where(t1 gt 1050) 1307 IDL> print,t1[1307] 2049 IDL> print,t1[1306] 1024 IDL> print,t1[1308] 1024 pass list: curl http://www.isas.jaxa.jp/home/solar/hinode_op/archives/passlist/passlist_latest.txt > pass_list in ~/work on pgN: cp ~/../../../disk3/disk42/solarhome/flare/slb/eisco/tmp/pass_list . Do this every week on friday, crontab data = obj_new('eis_data') data->read,'/home/matt/solarb/eis/data/RAL/fsrun0129/md_data_0001.fits' n=data->getnwin() print,n 4 data->getwin,0,wd,pos help,wd WD INT = Array[1024, 512] help,pos POS INT = Array[4] print,pos 50 1024 256 512 wd (window data) is in the correct format, so you can tvscl it right away. Another way to get the window data foo=data->getvar(1) tvscl,foo OBSTBL: clean out /data/eis/fm/memory_maps/obstbl/new make sequences cd /data/eis/fm/memory_maps/obstbl/new rename sequences (and maybe linelists) build_obstbl.pl cp -r current current_DATE cp current/obstbl.hex ./current.obstbl_DATE.hex To initialise the obstbl, run mk_obstbl_map.pl readcol,'foo',a plot,a,psym=3 eis_make_status_fits,'/home/matt/DARTS/ccsds/eis_sts_20060923_0730001858',output='/home/matt/DARTS/fits/20060923/' eis_make_status_fits,'/san_solar/disk2/home/sbukeis/work/localdata/sdtp/real/eis_sts_20061021_0742150512',output='/san_solar/disk2/home/sbukeis/' a=eis_ccsds_md_hdrs('$HOME/work/localdata/sdtp/decompressed/eis_md_20061108_1910085996') cc=eis_ccsds_hdrs('$HOME/work/localdata/sdtp/decompressed/eis_md_20061108_1910085996') t=eis_extract_double_word(cc,6,0,0) plot,t,psym=10 n=n_elements(t) plot,t[1:n-1]-t[0:n-2] eis_seq_check,'$HOME/work/localdata/sdtp/fits/status/20061109/' s=get_seq('$HOME/work/localdata/sdtp/fits/status/20061109/') n=n_elements(s) PG_IDL>s2=s[1:n-1]-s[0:n-2] PG_IDL>foo=where(s2/2 ne 0) foo = [foo,n-1] PG_IDL>plot,s[foo] print,s[foo] PG_IDL>s1=s[0:n-2]-s[1:n-1] eis_getdata,'$HOME/work/localdata/sdtp/fits/mission/eis_l0_20061104_212337.fits',wd,hdr=hdr,aux_data=aux_data help,aux_data,/stru plot,*aux_data.ti_2 - *aux_data.ti_1,/yn @study_list eis_study_list,dir='$HOME/data/mission/2006/12/25/',log='$HOME/work/idl/study_check/studies_200612.txt .comp eis_no_data_string .comp eis_ccd_temp_trend eis_ccd_temp_trend,'$HOME/data/status/2006/12',log='$HOME/work/localdata/log/status/trends/eis_ccd_temp_trend_200612.txt' [,/hdr] .comp eis_mbus_pwr_trend .comp eis_mhc_gp0_temp_trend .comp eis_psu_pwr_trend .comp eis_str_temp_trend [sbukeis@pg4 ~/bin]$ fits_study_list /soda/hinode/eis/level0/2007/08 > ! ~/work/localdata/log/mission/200708.txt [sbukeis@pg4 ~/bin]$ sed -e '/SSW/,/Type/d' ~/work/localdata/log/mission/200708.txt > ! ~/data/mission/2007/studies_list_200708.txt [sbukeis@pg4 ~/bin]$ rm ~/work/localdata/log/mission/200708.txt [sbukeis@pg4 ~/bin]$ fits_cal_study.pl >! ~/work/localdata/log/mission/cal_studies_list.txt [sbukeis@pg4 ~/bin]$ mv ~/work/localdata/log/mission/cal_studies_list.txt ~/data/mission/2007/cal_studies_list.txt /bin/sort ~/work/localdata/log/status/qcm/qcm1_log.txt | uniq > ! ~/data/status/qcm1_log.txt /bin/sort ~/work/localdata/log/status/qcm/qcm2_log.txt | uniq > ! ~/data/status/qcm2_log.txt Run the study listing, cal study listing and qcm log: study_log.csh 2007 09