% column indices for Odyssey II data
% binary vehicle file: X9826817.obd
% tabular ascii file:  x9826817.dat

global run_name
run_name = 'x9826817';

% OS-9 process start time: 1998/09/25 19:58:37 GMT     
% structure creation time: 1998/09/24 05:34:01 GMT     

clear time0
start = 906753559.59;
          m_present_time =   1;
                    m_dt =   2;
                  m_roll =   3;
                 m_pitch =   4;
                   m_yaw =   5;
             m_roll_rate =   6;
            m_pitch_rate =   7;
              m_yaw_rate =   8;
          m_inclino_roll =   9;
         m_inclino_pitch =  10;
           m_compass_yaw =  11;
              m_dr_north =  12;
               m_dr_east =  13;
                 m_dr_dn =  14;
                 m_dr_de =  15;
                 m_pos_n =  16;
                 m_pos_e =  17;
   uo_magnetic_variation =  18;
      m_paro_pres_period =  19;
      m_paro_temp_period =  20;
             m_init_pres =  21;
              m_pressure =  22;
                 m_depth =  23;
              e_latitude =  24;
            m_depth_rate =  25;
            u_prop_pitch =  26;
           m_water_speed =  27;
              m_altitude =  28;
              water_cond =  29;
              water_temp =  30;
              m_salinity =  31;
        u_speed_of_sound =  32;
        c_elevator_angle =  33;
        m_elevator_angle =  34;
          c_rudder_angle =  35;
          m_rudder_angle =  36;
           m_he_elev_raw =  37;
            m_he_rud_raw =  38;
           m_he_elev_deg =  39;
            m_he_rud_deg =  40;
    effective_drag_coeff =  41;
      c_thruster_current =  42;
      m_thruster_current =  43;
          m_thruster_per =  44;
      m_thruster_rawbatt =  45;
       m_propeller_speed =  46;
        u_cutoff_voltage =  47;
          c_weight1_drop =  48;
          c_weight2_drop =  49;
         cc_heading_mode =  50;
           cc_depth_mode =  51;
           cc_speed_mode =  52;
         c_abort_mission =  53;
                 c_speed =  54;
                 c_pitch =  55;
                 c_depth =  56;
               c_heading =  57;
                 c_wpt_n =  58;
                 c_wpt_e =  59;
           c_wpt_heading =  60;
                  wp_xte =  61;
                  wp_dtw =  62;
    uo_control_pitch_lim =  63;
          uo_control_kwp =  64;
          uo_control_kpp =  65;
          uo_control_kdp =  66;
          uo_control_kip =  67;
          uo_control_kph =  68;
          uo_control_kdh =  69;
          uo_control_kih =  70;
          uo_depth_map_k =  71;
          uo_depth_int_k =  72;
               uo_max_hr =  73;
               uo_max_dr =  74;
                  uo_tau =  75;
                   t_hdg =  76;
              t_hdg_rate =  77;
                 t_depth =  78;
              h_integral =  79;
              d_integral =  80;
              p_integral =  81;
            m_roll_drift =  82;
           m_pitch_drift =  83;
             m_yaw_drift =  84;
            m_km_voltage =  85;
            m_km_current =  86;
               u_bs_gain =  87;
               u_fl_gain =  88;
            m_bs_voltage =  89;
            m_fl_voltage =  90;
             dgc_autocal =  91;
            dgc_calmerit =  92;
            dgc_locmerit =  93;
            dgc_calcount =  94;
           sbe_temp_freq =  95;
           sbe_cond_freq =  96;
                  real_x =  97;
                  real_y =  98;
                  real_z =  99;
                  real_u = 100;
                  real_v = 101;
                  real_w = 102;
                 real_ud = 103;
                 real_vd = 104;
                 real_wd = 105;
                real_phi = 106;
              real_theta = 107;
                real_psi = 108;
                  real_p = 109;
                  real_q = 110;
                  real_r = 111;
                 real_pd = 112;
                 real_qd = 113;
                 real_rd = 114;
                 real_fx = 115;
                 real_fy = 116;
                 real_fz = 117;
                 real_fk = 118;
                 real_fm = 119;
                 real_fn = 120;
        real_depth_noise = 121;
          real_acc_noise = 122;
              real_veh_w = 123;
              real_veh_b = 124;
               real_wdw1 = 125;
               real_wdw2 = 126;
      real_current_north = 127;
       real_current_east = 128;
  read_current_from_file = 129;
          u_rdi_ea_angle = 130;
           u_rdi_tp_time = 131;
               m_rdi_alt = 132;
         edge_tr_xs_time = 133;
         edge_am200_bacs = 134;
        edge_xs_databyte = 135;
              m_ps8k_t01 = 136;
              m_ps8k_t02 = 137;
              m_ps8k_t03 = 138;
              m_ps8k_t04 = 139;
              m_ps8k_t05 = 140;
              m_ps8k_t06 = 141;
              m_ps8k_t07 = 142;
              m_ps8k_t08 = 143;
              m_ps8k_t09 = 144;
              m_ps8k_t10 = 145;
              m_gps_time = 146;
              m_gps_qual = 147;
              m_gps_nsat = 148;
               m_gps_lat = 149;
               m_gps_lon = 150;
                 m_gps_n = 151;
                 m_gps_e = 152;
                u_gps_cm = 153;
                u_gps_fe = 154;
             u_gps_phi_0 = 155;
                u_gps_fn = 156;
              u_gps_axis = 157;
              u_gps_finv = 158;
   real_lbl_timing_noise = 159;
      real_lbl_frac_bias = 160;
   real_lbl_frac_dropout = 161;
 real_lbl_bias_amplitude = 162;
  u_lbl_transponder_mode = 163;
     u_lbl_beacon_number = 164;
            u_lbl_1north = 165;
             u_lbl_1east = 166;
            u_lbl_1depth = 167;
              u_lbl_1tat = 168;
            u_lbl_2north = 169;
             u_lbl_2east = 170;
            u_lbl_2depth = 171;
              u_lbl_2tat = 172;
            u_lbl_3north = 173;
             u_lbl_3east = 174;
            u_lbl_3depth = 175;
              u_lbl_3tat = 176;
            u_lbl_4north = 177;
             u_lbl_4east = 178;
            u_lbl_4depth = 179;
              u_lbl_4tat = 180;
           c_lbl_control = 181;
             u_lbl_cycle = 182;
           u_lbl_lockout = 183;
           u_lbl_timeout = 184;
               m_lbl_sr1 = 185;
               m_lbl_sr2 = 186;
               m_lbl_sr3 = 187;
               m_lbl_sr4 = 188;
             lbl_newdata = 189;
          m_lbl_northfix = 190;
           m_lbl_eastfix = 191;
         m_lbl_advance_n = 192;
         m_lbl_advance_e = 193;
             lbl_fixstat = 194;
             lbl_fixgain = 195;
           lbl_range_tol = 196;
             lbl_fix_err = 197;
           lbl_min_angle = 198;
          lbl_nav2_angle = 199;
         m_lbl_ping_time = 200;
          m_lbl_num_used = 201;
            m_lbl_valid1 = 202;
            m_lbl_valid2 = 203;
            m_lbl_valid3 = 204;
            m_lbl_valid4 = 205;
           m_lbl_median1 = 206;
           m_lbl_median2 = 207;
           m_lbl_median3 = 208;
           m_lbl_median4 = 209;
