pidf v2_SPEB { $********************************************************************* float version = 2.0; $$ version string institution = "AFGL"; $$ institute string project = "TSS"; $$ project string mission = "TSS-1R"; $$ mission string experiment = "SPREE"; $$ experiment string instrument = "SPREE"; $$ instrument string vinst = "SPEB"; $$ vinst $********************************************************************* int num_groups = 1; $$ number of groups string group_name = "Selected Electron Spectra Head B"; $$ group name int plot_avail_flag = 0x7; $$ plot avail int data_type_mask = 0x1B; $$ Sen/Scn/Cal/Mode/Qual int instrument_dep = 7; $$ avg over char cyclic = 'N'; $$ cyclic in PHI? float phi_min = 0.0; $$ phi limits float phi_max = 360.0; $$ phi limits float theta_min = 0.0; $$ theta limits float theta_max = 180.0; $$ theta limits float scan_min = 10.0; $$ scan limits float scan_max = 10000.0; $$ scan limits $********************************************************************* int num_bin_sets = 0; $$ no. bin sets $********************************************************************* int num_units = 4; $$ no. units struct Unit0 { $-------------------------UNIT 00------------------------------------- int id = 0; $$ unit id float min = 0.0; $$ unit min/max float max = 255.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "Dimensionless"; $$ unit label string long_description = "Telemetry"; $$ long desc. string short_description = "Raw"; $$ short desc. int num_tables = 0; $$ number of tables }; struct Unit1 { $-------------------------UNIT 01------------------------------------- int id = 0; $$ unit id float min = 1.0; $$ unit min/max float max = 1.0e4; $$ unit min/max int unit_scaling = 2; $$ unit lin/log string unit_label = "c/acc"; $$ unit label string long_description = "counts/acc"; $$ long desc. string short_description = "c/acc"; $$ short desc. int num_tables = 1; $$ number of tables int tbl_app_flag = 1; $$ table numbers int tbl_app_oper = 0; $$ operations }; struct Unit2 { $-------------------------UNIT 02------------------------------------- int id = 0; $$ unit id float min = 5.0; $$ unit min/max float max = 10000.0; $$ unit min/max int unit_scaling = 2; $$ unit lin/log string unit_label = "eV"; $$ unit label string long_description = "Energy"; $$ long desc. string short_description = "eV"; $$ short desc. int num_tables = 1; $$ number of tables int tbl_app_flag = 0; $$ table numbers int tbl_app_oper = 0; $$ operations }; struct Unit3 { $-------------------------UNIT 03------------------------------------- int id = 0; $$ unit id float min = -1.0; $$ unit min/max float max = 3.0; $$ unit min/max int unit_scaling = 1; $$ unit lin/log string unit_label = "Dimensionless"; $$ unit label string long_description = "Telemetry"; $$ long desc. string short_description = "Raw"; $$ short desc. int num_tables = 0; $$ number of tables }; $********************************************************************* int num_sensors = 10; $$ no. of sensors struct Sensor0 { $-----------------------SENSOR 00------------------------------------- string name = "Electrons/B Z0"; $$ sensor name string component = "Zone 0"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 0; $$ pidf sensor num int vidf_sensor_num = 0; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor1 { $-----------------------SENSOR 01------------------------------------- string name = "Electrons/B Z1"; $$ sensor name string component = "Zone 1"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 1; $$ pidf sensor num int vidf_sensor_num = 1; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor2 { $-----------------------SENSOR 02------------------------------------- string name = "Electrons/B Z2"; $$ sensor name string component = "Zone 2"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 2; $$ pidf sensor num int vidf_sensor_num = 2; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor3 { $-----------------------SENSOR 03------------------------------------- string name = "Electrons/B Z3"; $$ sensor name string component = "Zone 3"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 3; $$ pidf sensor num int vidf_sensor_num = 3; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor4 { $-----------------------SENSOR 04------------------------------------- string name = "Electrons/B Z4"; $$ sensor name string component = "Zone 4"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 4; $$ pidf sensor num int vidf_sensor_num = 4; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor5 { $-----------------------SENSOR 05------------------------------------- string name = "Electrons/B Z5"; $$ sensor name string component = "Zone 5"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 5; $$ pidf sensor num int vidf_sensor_num = 5; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor6 { $-----------------------SENSOR 06------------------------------------- string name = "Electrons/B Z6"; $$ sensor name string component = "Zone 6"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 6; $$ pidf sensor num int vidf_sensor_num = 6; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor7 { $-----------------------SENSOR 07------------------------------------- string name = "Electrons/B Z7"; $$ sensor name string component = "Zone 7"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 7; $$ pidf sensor num int vidf_sensor_num = 7; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor8 { $-----------------------SENSOR 08------------------------------------- string name = "Electrons/B Z8"; $$ sensor name string component = "Zone 8"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 8; $$ pidf sensor num int vidf_sensor_num = 8; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; struct Sensor9 { $-----------------------SENSOR 09------------------------------------- string name = "Electrons/B Z9"; $$ sensor name string component = "Zone 9"; $$ component name char source = 'V'; $$ source (V) (S) string scf_filename = "N/A"; $$ not applicable int pidf_sensor_num = 9; $$ pidf sensor num int vidf_sensor_num = 9; $$ sensor vidf no. int group_num = 0; $$ sensor group no. int display_flag = 1; $$ display bit int scan_block_info = 0; $$ scan block info int num_units = 2; $$ no. data of units int unit_number = 0; $$ unit numbers int unit_number = 1; $$ unit numbers }; $********************************************************************* int num_scan = 1; $$ no. of scan blocks struct Scan0 { $----------------------SCAN BLOCK 00---------------------------------- int scan_block_num = 0; $$ scan block number int num_units = 2; $$ no. scan of units struct ScanUnit0 { char spacing = 'I'; $$ raw sweep int units_index = 0; $$ raw sweep }; struct ScanUnit1 { char spacing = 'L'; $$ center eV int units_index = 2; $$ center eV }; }; $********************************************************************* int num_modes = 3; $$ no. of modes struct Mode0 { $-------------------------MODE 00------------------------------------- string name = "Power Status"; $$ mode name string short_name = "Pwr Stat"; $$ mode name int pidf_mode_num = 0; $$ pidf mode number int vidf_mode_num = 0; $$ mode no. int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; struct Mode1 { $-------------------------MODE 01------------------------------------- string name = "Rotation Status"; $$ mode name string short_name = "Rot Stat"; $$ mode name int pidf_mode_num = 1; $$ pidf mode number int vidf_mode_num = 1; $$ mode no. int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; struct Mode2 { $-------------------------MODE 02------------------------------------- string name = "Sweep Rate"; $$ mode name string short_name = "Swp Rate"; $$ mode name int pidf_mode_num = 2; $$ pidf mode number int vidf_mode_num = 2; $$ mode no. int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; struct DataQual { $********************************************************************* string name = "Data Quality"; $$ dqual name string short_name = "Dqual"; $$ dqual name int num_units = 1; $$ no. of units int unit_number = 3; $$ unit numbers }; }