general/cotrans/special/sse/
sel_matrix_make.pro
PROCEDURE: sel_matrix_make Purpose: Creates a set of matrices that will rotate data from SSE coordinate to SEL coordinate Arguments: Inputs: name_lun_att_x: Name of the tplot variable(s) storing the SEL-X basis vectors in GEI coords. Vector data can also be input and should be of the form [t,x,y,z] . name_lun_att_z: Name of the tplot variable(s) storing the SEL-Z basis vectors in GEI coords. Vector data can also be input and should be of the form [t,x,y,z]. Input names can have globbing or can be arrays of names, but number of elements for lun_att_x and and lun_att_z after globbing must match. Outputs: fail: Will be set to 1 if operation failed, returns 0 if operation succeeded. Will not signal failure if at least one input was processed. Keywords suffix: The suffix to be appended to the tplot variables that the output matrices will be stored in. (Default: sse_sel_mat) newname: The name of the output matrix. If this keyword is used with multiple input values, the outputs may overwrite each other. So you should only set this keyword if there is a single value for the state input. This variable should be used if vector data is input ignore_dlimits: If set, will force routine to generate matrix, even if inputs are labeled as the wrong coordinate system. This flag is ignored if vector data in input. Example: timespan,'2007-03-23' thm_load_slp sel_matrix_make,'slp_lun_att_x','slp_lun_att_z',newname='sel_mat' thm_load_state,probe='a' thm_cotrans,'tha_pos',out_coord='sse',out_suff='_sse' tvector_rotate,'sel_mat','tha_state_pos_sse' Or if using vector data sel_matrix_make,lun_att_x,lun_att_z,newname=sel_mat NOTES: #1 SEL is defined as: X: TBD Y: TBD Z: TBD Adapted from sse_matrix_make, written by Jenni Kissinger and Patrick Cruce $LastChangedBy: cgoethel $ $LastChangedDate: 2011-11-15 12:50:08 -0800 (Tue, 15 Nov 2011) $ $LastChangedRevision: 9298 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/cotrans/special/sse/sel_matrix_make.pro $
Routines
top source sel_matrix_make
sel_matrix_make, name_sun_pos, name_moon_pos, name_lun_att_x, name_lun_att_z, newname=newname, suffix=suffix, fail=fail, ignore_dlimits=ignore_dlimits
Parameters
- name_sun_pos
- name_moon_pos
- name_lun_att_x
- name_lun_att_z
Keywords
- newname
- suffix
- fail
- ignore_dlimits
File attributes
Modification date: | Thu Feb 13 16:43:35 2014 |
Lines: | 116 |