plot_door_open $SSW/trace/idl/egse/plot_door_open.pro
[Previous] [Next]
NAME:
	plot_door_open
PURPOSE:
	Plot the door open temperatures and timing
SAMPLE CALLING SEQUENCE:
	plot_door_open, door, sttim0, dur
	plot_door_open, 1, '10-Feb-97 13:05', 10, hc=hc
NOTES:
	pr_mdihk_trans,'12-feb 12:00','13-feb','ikidswm'
 CALLS: ***
	OUTPLOT [1], OUTPLOT [2], OUTPLOT [3], PAUSE [1], SETPS, UTPLOT [1], UTPLOT [2]
	UTPLOT [3], UTPLOT [4], UTPLOT [5], UTPLOT [6], WDEF [1], WDEF [2], anytim2ints [1]
	anytim2ints [2], fmt_tim [1], fmt_tim [2], get_hk_info [1], get_hk_info [2]
	int2secarr [1], int2secarr [2], pause [2], plottime [1], plottime [2], pprint [1]
	pprint [2], zbuff2file [1], zbuff2file [2]
HISTORY:
	Written 11-Feb-97 by M.Morrison
V2.0	12-Feb-97 (MDM) - Adjusted door3 temperature by the reference
			- Added GIF option
V2.1	17-Feb-97 (MDM) - Adjusted for case where micro switch doesn't 
			  show open
V3.0	26-Sep-97 (MDM) - Modified for S/C test (24-Sep-97)
V3.1	29-Sep-97 (MDM) - Allowed redundant (secondary) system
			- Adjusted for microswitch which starts high and 
			  then goes low and then high again
V3.2	 4-Dec-97 (MDM) - Added 19-Nov
V3.3	12-Feb-98 (MDM) - Added 12-Feb-98 opening
V3.4	 7-Apr-98 (MDM) - Added flight door opening (4-Apr 8:00)


plot_fov [1] $SSW/trace/idl/util/trace_sswhere.pro
[Previous] [Next]
NAME:
	plot_fov
PURPOSE:
	To plot the locations of the PFI fields of views (FOV).
	The routine accepts either ROADMAP or INDEX.SXT
CALLING SEQUENCE:
	plot_fov, index  
	plot_fov, roadmap, sel, ss
INPUT:
	struct	- Either the ROADMAP or INDEX structure
OPTIONAL OUTPUT:
	selfov	- If present, the user is prompted to mark a box
		  selecting the "window" of interest.  The value
		  returned is an array of the same length as
		  the input array with the selected datasets
		  having a "1".  The way to use this value is
		  something like the following:
			ss = where(selfov)
			ss = where(selfov and (struct.percentd eq 255))
	ss	- Return the list of indicies that were selected.
		  This should be used only if you do not want to 
		  do other searches using the "where" function.
OPTIONAL INPUT:
	box	- If present, draw the size of the field of view.  
		  The summation mode is reflected in the box size.
	qstop	- If present, stop at the end (for debugging)
	img	- If present, after plotting the line plot, display the
		  image and the location of the PFI images on the sun
		  It allows the user to check the offset being used.
	nocmd	- If set, use the actual pointing information from the
		  PNT file, not the S/C commanded value.
 CALLS: ***
	ADDTIME [1], ADDTIME [2], ALL_VALS [1], ALL_VALS [2], ARR2STR [1], Arr2Str [2]
	BOX_CURSOR, BOX_MESSAGE, CONGRID [1], CONGRID [2], CONGRID [3], FILE2TIME
	FMT_TIMER [1], FMT_TIMER [2], FSTRING, READFITS [1], READFITS [2], READFITS [3]
	TIME2FILE, TRACE_LIST_INDEX, TRACE_SSWHERE [1], TRACE_SSWHERE_EVENT
	TRACE_SSWHERE_FOV, TRACE_SSWHERE_RESET, XMANAGER, XMENU [1], XMENU [2], anytim [1]
	anytim [2], anytim [3], anytim [4], anytim [5], anytim2ints [1], anytim2ints [2]
	draw_boxcensiz [1], draw_boxcensiz [2], draw_boxcorn [1], draw_boxcorn [2]
	fmt_tim [1], fmt_tim [2], get_rb0p [1], get_rb0p [2], grid_data [1], grid_data [2]
	gt2exe [1], gt2exe [2], gt_tagval [1], gt_tagval [2], tim2dset [1], tim2dset [2]
	trace_data_filter, trace_files, trace_sswhere [2], trace_sswhere [3]
	trace_sswhere [4]
 CALLED BY:
	OBS_PLOT, chk_pointing, pfi_loc, sxt_uniq [1], xsxt_prep_event
HISTORY:
	Written Oct-91 by M.Morrison
	20-Oct-91 (MDM) - Added /box, /img, and /sun2 options
	12-Nov-91 (MDM) - Added "ss" parameter option
	16-Nov-91 (MDM) - Changed to use GT_FOV_CENTER so that index
			  can be passed directly
	20-Nov-91 (MDM) - Put a temporary fix in because of GETSXTFOV 
			  error in OR PFIs
	28-Jan-93 (MDM) - Modified to use the expanded GT_FOV_CENTER
			  which does corrections done here before, and
			  corrects now for commanded pointing changes.
			- Removed SUN2 option
	14-Jul-93 (MDM) - Corrected IMG option
			- Use GT_CENTER instead of GT_FOV_CENTER
			- Allowed NOCMD option to use PNT pointing info
			- Use GT_SHAPE instead of GT_SHAPE_CMD
			- Replaced fixed solar radius with a call to GET_RB0P
	21-Jul-93 (MDM) - Added /OBS_REGION switch to GT_SHAPE so that the
			  observing region shape is displayed
	12-Sep-93 (SLF) - added skipfirst - if img and skipfirst, just do the
			  second plot (img overlayed) and dont prompt


plot_img_cadence $SSW/trace/idl/egse/plot_img_cadence.pro
[Previous] [Next]
NAME:
	plot_img_cadence
PURPOSE:
	To plot the time between images (generally used for
	"speed64" sequence
SAMPLE CALLING SEQUENCE:
	plot_img_cadence, sttim, entim, /hc
	plot_img_cadence, '8-apr 15:00','9-apr 5:00'
 CALLS: ***
	SETPS, UTPLOT [1], UTPLOT [2], UTPLOT [3], UTPLOT [4], UTPLOT [5], UTPLOT [6]
	data_type [1], data_type [2], deriv_arr [1], deriv_arr [2], fmt_tim [1]
	fmt_tim [2], get_hk_info [1], get_hk_info [2], int2secarr [1], int2secarr [2]
	plottime [1], plottime [2], pprint [1], pprint [2]
HISTORY:
	Written 14-Apr-97 by M.Morrison
	 3-Jul-97 (MDM) - Changed to use "iksqfrm"
			- Passed x,y out as well as "info"


plot_therm_rs232a $SSW/trace/idl/egse/plot_therm_rs232a.pro
[Previous] [Next]
 plot_therm_rs232a

 CALLS: ***
	PLOT_THERM_RS232_S1, SETPS, anytim2ints [1], anytim2ints [2], fmt_tim [1]
	fmt_tim [2], plottime [1], plottime [2], pprint [1], pprint [2], rd_therm_rs232
	ut_time [1], ut_time [2]
 HISTORY:
 
    15-Feb-97 - (BNH) - Removed dead TC #7 prior to TRACE TV Test



plot_therm_rs232c $SSW/trace/idl/egse/plot_therm_rs232c.pro
[Previous] [Next]
 CALLS: ***
	PLOT_THERM_RS232_S1, SETPS, anytim2ints [1], anytim2ints [2], fmt_tim [1]
	fmt_tim [2], plottime [1], plottime [2], pprint [1], pprint [2], rd_therm_rs232
	ut_time [1], ut_time [2]
 PROCEDURE:
	plot_therm_rs232c.pro

 HISTORY:
	17-Feb-97 - (BNH) - Removed TC #7


pr_fdss $SSW/trace/idl/info/pr_fdss.pro
[Previous] [Next]
NAME:
       pr_fdss
PURPOSE:
       Print an FDSS files for the selected time interval
SAMPLE CALLING SEQUENCE:
       pr_fdss, sttim, entim, type
       pr_fdss, struct

       pr_fdss,'16-Sep-98 12:00','17-Sep-98 12:00','viewpd'
INPUTS:
	two ways of calling pr_fdss
 1)
       sttim   - The starting date/time of the period of interest
       enttim  - The ending date/time
       type    - "orbevt" for assending/descending node/times
               - "durevt" for SAA, high lat zone, 
               - "viewpd" for station pass view of S/C
               - "grndtrk" for spacecraft ground track
               - "station" for statio pass id
 2)
	struvt  - existing fdss structure

 CALLS: ***
	DATATYPE [1], DATATYPE [2], DATATYPE [3], PR_FDSS_DUREVT, chktag, pr_fdss_grndtrk
	pr_fdss_orbevt, pr_fdss_viewpd, rd_fdss
HISTORY:
       Written 21-Nov-98 by R.D.Bentley


pr_fdss_grndtrk $SSW/trace/idl/ops/pr_fdss_grndtrk.pro
[Previous] [Next]
NAME:
       pr_fdss_grndtrk
PURPOSE:
       Generate report of grndtrk structure created by rd_fdss_grndtrk_fil.pro
 CALLS: ***
	fmt_tim [1], fmt_tim [2], prstr [1], prstr [2]
 CALLED BY:
	pr_fdss
HISTORY:
       Written Nov-97 by F.Zele


pr_fdss_orbevt $SSW/trace/idl/ops/pr_fdss_orbevt.pro
[Previous] [Next]
NAME:
       pr_fdss_orbevt
PURPOSE:
       Generate report of orbevt structure created by rd_fdss_orbevt_fil.pro
 CALLS: ***
	fmt_tim [1], fmt_tim [2], prstr [1], prstr [2]
 CALLED BY:
	pr_fdss
HISTORY:
       Written Nov-97 by F.Zele


pr_fdss_viewpd $SSW/trace/idl/ops/pr_fdss_viewpd.pro
[Previous] [Next]
NAME:
       pr_fdss_viewpd
PURPOSE:
       Generate report of viewpd structure created by rd_fdss_viewpd_fil.pro
 CALLS: ***
	fmt_tim [1], fmt_tim [2], gt_time [1], gt_time [2], prstr [1], prstr [2]
 CALLED BY:
	pr_fdss
HISTORY:
       Written Nov-97 by F.Zele
	 2-Dec-97 (MDM) - Added TIMELINE option


pr_hk_info [2] $SSW/trace/idl/egse/pr_hk_info.pro
[Previous] [Next]
NAME:
	pr_hk_info
PURPOSE:
	To display information on the MDI Housekeeping mnemonics
SAMPLE CALLING SEQUENCE:
	pr_hk_info
	pr_hk_info, 'pr_hk_info.txt'
	pr_hk_info, outfil
INPUT:
	outfil	- Optional output file to write to
 CALLS: ***
	HK_SUMMARY_TYPE, bits [1], bits [2], convert_hk [1], convert_hk [2]
HISTORY:
 V1.0	Feb-94 by M.Morrison
 V2.0	15-Jul-94 (MDM) - Added information on mnemonic type (A, D, or R)
			- Added info on total number of bits of data
			- Added info on which HK summary file the info goes in
 V2.1	16-Jan-95 (MDM) - Added INFIL option
 V3.0	24-Jan-95 (MDM) - Added INSIM and LONG option
 V3.1	 6-Feb-95 (MDM) - Modified LONG option output format
 V4.0	 9-Oct-96 (MDM) - Modified to work with TRACE
 V4.1	13-Nov-96 (MDM) - Modified to work with TRACE or MDI
			- Made summary type optional
			- Added /format_sample (for TRACE)
 V4.2	21-Nov-96 (MDM) - Added /NOHEADER
 V4.3	14-Mar-97 (MDM) - Added two more packet types ('SC0A', 'SC0B')
 V5.0	 6-Jan-99 (MDM) - Scapped and modified to use SMEX ascii database
			  definition file (rd_egse_hk_txt) rather than
			  RTDB binary file (convert_hk)
			- Changed the name length format to be 12 (instead of 10)


pr_maxmin_hk $SSW/trace/idl/ops/pr_maxmin_hk.pro
[Previous] [Next]
NAME:
       pr_maxmin_hk
PURPOSE:
       To log times and count frames when a given mnemonic value is above or below a given threshold
       or is equal to a given value.
SAMPLE CALLING SEQUENCE:
       pr_maxmin_hk, sttim, entim, mnem, maxt=maxt, mint=mint
       pr_maxmin_hk, '9-oct 00:00', '9-oct 03:00', 'psdpuc', maxt=2.2, mint=1.0 
       pr_maxmin_hk, '3-dec 00:00', '3-dec 23:00', 'ikpwmec', equalt=1, /hc
 CALLS: ***
	ADDTIME [1], ADDTIME [2], fmt_tim [1], fmt_tim [2], get_hk_info [1]
	get_hk_info [2], prstr [1], prstr [2], ut_time [1], ut_time [2]
HISTORY:
       Written 12-Dec-97 by F.Zele
        17-Dec-97(FZ) - Added Hex option to equalt


pr_mdihk_trans [2] $SSW/trace/ssw_contributed/pr_mdihk_trans.pro
[Previous] [Next]
NAME:
	pr_mdihk_trans
PURPOSE:
	To log the times that a given mnemonic changes state
SAMPLE CALLING SEQUENCE:
	pr_mdihk_trans, sttim, entim, mnem
	pr_mdihk_trans, '6-Jun', '7-Jun', 'mksqrg3'
	pr_mdihk_trans,'18-jun 3:50','18-jun 4:20','mksqid',info=info,/hex
 CALLS: ***
	UNIQ [1], UNIQ [2], UNIQ [3], data_type [1], data_type [2], fmt_tim [1], fmt_tim [2]
	get_hk_info [1], get_hk_info [2], gt_day [1], gt_day [2], prstr [1], prstr [2]
	ut_time [1], ut_time [2]
HISTORY:
	Written 18-Jun-96 by M.Morrison
	15-Jul-96 (MDM) - Protect against a new condition
V1.1	16-Jun-97 (MDM) - Modified to print the last transition
V1.2	 3-Dec-98 (MDM) - Modified to print properly when data is BYTE type


pr_therm_rs232 $SSW/trace/idl/egse/pr_therm_rs232.pro
[Previous] [Next]
NAME:
	pr_therm_rs232
PURPOSE:
	To display the thermo-couple values in a tabular format
SAMPLE CALLING SEQUENCE:
	pr_therm_rs232, '9-feb 0:00', '9-feb 0:30', [1,2,3,7,12,15]
	pr_therm_rs232, stttim, entim, therm_list, /hc
 CALLS: ***
	data_type [1], data_type [2], fmt_tim [1], fmt_tim [2], prstr [1], prstr [2]
	rd_therm_rs232, ut_time [1], ut_time [2]
HISTORY:
	Written 8-Feb-97 by M.Morrison


pr_tr_header $SSW/trace/idl/egse/pr_tr_header.pro
[Previous] [Next]
NAME:
	pr_tr_header
PURPOSE:
	Dump the data product header from the trace header
SAMPLE CALLING SEQUENCE:
	pr_tr_header, infil, outfil='dd.dd'
	pr_tr_header, infil, /full_ccd
INPUT:
	infil	- The input FITS file names
OUTPUT:
	out	- The string array with the info
 CALLS: ***
	MASK, PR_COLS, file_append [1], file_append [2], prstr [1], prstr [2]
	rd_trace_i0 [1], rd_trace_i0 [2]
 CALLED BY:
	xdisp_trace [1], xdisp_trace2, xdisp_trace3
OPTIONAL KEYWORD INPUT:
	outfil	- The output file to write to
	full_ccd- If set, then dump the full ccd enginering
		  line (in addition to the shortword and
		  readout bits)
	h	- The header already read
HISTORY:
	Written 6-Dec-96 by M.Morrison
V1.1	16-Dec-96 (MDM) - Fixed to work if camera long word is 
			  not present
V1.2	17-Dec-96 (MDM) - Incorporated Dnyanesh decoding of IP section
V1.3	18-Dec-96 (MDM) - Corrected start address for Dnyanesh decoding
V1.4	21-Apr-98 (MDM) - Added ability to pass header in


pr_uniq_hk $SSW/trace/idl/ops/pr_uniq_hk.pro
[Previous] [Next]
NAME:
       pr_uniq_hk
PURPOSE:
       To log times and count frames and transitions that a given mnemonic or a pair of mnemonics changes state
SAMPLE CALLING SEQUENCE:
       pr_uniq_hk, sttim, entim, mnem, /filt
       pr_uniq_hk, '9-oct 00:00', '9-oct 03:00', 'ikfmpos', /filt
       pr_uniq_hk, '9-oct', '10-oct', ['ikf1pos','ikf2pos'], /filt
 CALLS: ***
	BSORT [1], BSORT [2], BSORT [3], BSORT [4], UNIQ [1], UNIQ [2], UNIQ [3]
	deriv_arr [1], deriv_arr [2], fmt_tim [1], fmt_tim [2], get_hk_info [1]
	get_hk_info [2], prstr [1], prstr [2], ut_time [1], ut_time [2]
 CALLED BY:
	tr_mech_summary_img month
HISTORY:
       Written 30-Oct-97 by F.Zele
V1.2	14-Nov-97 (MDM) - Added option to pass in image header info
V1.3   18-Nov-97 (FZ)  - Reduced report width to 80 columns. Corrected filter algorithm.
V1.4   20-Nov-97 (FZ)  - Modified frame counts
V1.5   25-Nov-97 (FZ)  - Modified frame counts (fc=fc<5>1)
V1.6	26-Aug-98 (MDM) - Changed FOR loop to be LONG
V1.7   27-Aug-98 (FZ)  - Changed kntf and kf arrays to be LONG
V1.8   21-Jul-99 (FZ)  - Added improper frame-count percent for ikqspos