projects/themis/spacecraft/
thm_cal_hsk.pro
Procedure: thm_cal_hsk Purpose: Converts housekeeping data into physical units. Generates data structure for performing conversion. Inputs: in_names: The list of tplot names that should be converted into physical units, tvars not on this list will not be modified Outputs: out_names: Set a named variable to this keyword to return the output variable names Notes: 1. If calibrating use dprint,setdebug=5 to see detailed calibration information 2. Some exceptions to the DBX style calibrations are hard-coded into the code, If updating calibrations, be sure to check the arrays "naming_corrections" and "group_names" to verify that they work correctly with modifications. 3. Overall, the calibration is a two part process. A. Tables are pre-generated using DBX records when thm_cal_hsk_make_tables is called. These tables completely describe the conversions, with the exception of the exceptions named in #2. The conversion tables are loaded and used to transform the data when thm_cal_hsk is called. The end-user should never have to call thm_cal_hsk_make_tables $LastChangedBy: pcruce $ $LastChangedDate: 2009-07-13 14:47:13 -0700 (Mon, 13 Jul 2009) $ $LastChangedRevision: 6425 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/spacecraft/thm_cal_hsk.pro $
Routines
Routines from thm_cal_hsk.pro
result = thm_cal_hsk_conv_colors(in_colors)
thm_cal_hsk_get_records, file_strings, record_type, record_length, out_records
thm_cal_hsk_read_file, path, lines
result = thm_cal_hsk_correct_name(in_name)
thm_cal_hsk_make_tables, dbxpaths, outpath
thm_cal_hsk_path, cpath
result = thm_cal_hsk_sub_name(name)
result = thm_cal_hsk_strput_vec(str, sub, pos)
result = thm_cal_hsk_alg_double(coefs)
thm_cal_hsk_split_groups, t_names, groups, splits=splits
thm_cal_hsk_unsplit_groups, splits
thm_cal_hsk_do_cal, in_name, conv
thm_cal_hsk, in_names, out_names=out_names
Routine details
top source thm_cal_hsk_get_records
thm_cal_hsk_get_records, file_strings, record_type, record_length, out_records
Parameters
- file_strings
- record_type
- record_length
- out_records
top source thm_cal_hsk_make_tables
thm_cal_hsk_make_tables, dbxpaths, outpath
Parameters
- dbxpaths
- outpath
top source thm_cal_hsk_strput_vec
result = thm_cal_hsk_strput_vec(str, sub, pos)
Parameters
- str
- sub
- pos
File attributes
Modification date: | Thu Feb 13 16:42:52 2014 |
Lines: | 264 |