vidf v3_E_SPCT {
    float version = 3.0;                                   /* version      */
    string mission = "CLUSTERII [Updated October 11, 2004]"; /* Project    */
    string spacecraft = "CLUSTER-2";                       /* Mission      */
    string experiment = "RAPID";                           /* Experiment   */
    string instrument = "IES";                             /* Instrument   */
    string contact = "Dr. Patrick W. Daly";
    string contact = "Max-Planck-Institut für Aeronomie";
    string contact = "Max-Planck-Str. 2";
    string contact = "37191 Katlenburg-Lindau, Germany";
    string contact = "daly@linmpi.mpg.de";
/*
 * 
 *        CLUSTERII:CLUSTER-2:RAPID:IES:E_SPCT
 * 
 * Energetic electron spectra from the RAPID IES instrument.
 * Only the upper six steps of the energy sweep are represented
 * and the data have been summed over all azimuths and
 * elevations. Each sweep therefore covers one CLUSTER spin.
 * 
 *  The following is a list of tables which are in this vidf
 *    TABLE  0: Energy bin lower edge (KeV)
 *    TABLE  1: Energy bin upper edge (KeV)
 *    TABLE  2: Energy bin center (KeV)
 *    TABLE  3: Polynomial coefficients which places the data
 *              into the math buffer.
 *    TABLE  4: Conversion factor from eV to KeV
 *    TABLE  5: Conversion factor from eV to erg
 *    TABLE  6: Conversion factors to distribution func (s**3/km**6)
 *    TABLE  7: Conversion of dis fn from (s**3/km**6) to (s**3/m**6)
 *    TABLE  8: Conversion of dis fn from (s**3/km**6) to (s**3/cm**6)
 *    TABLE  9: Conversion from cm to m
 *    TABLE 10: Conversion from cm to km
 *    TABLE 11: Electron charge in Coulombs
 *    TABLE 12: Table of value 2/m (gm-1) used in E->V conversion
 * 
 */
    int s_year = 2000;                                     /* ds_year      */
    int s_day = 1;                                         /* ds_day       */
    int s_msec = 0;                                        /* ds_msec      */
    int s_usec = 0;                                        /* ds_usec      */
    int e_year = 2020;                                     /* de_year      */
    int e_day = 1;                                         /* de_day       */
    int e_msec = 0;                                        /* de_msec      */
    int e_usec = 0;                                        /* de_usec      */
    int smp_id = 1;                                        /* smp_id       */
    int sen_mode = 4;                                      /* sen_mode     */
    int n_qual = 3;                                        /* n_qual       */
    int n_cal_sets = 0;                                    /* cal_sets     */
    int n_tbls = 13;                                       /* num_tables   */
    int n_consts = 0;                                      /* num_consts   */
    int n_status = 0;                                      /* status       */
    int n_sensors = 1;                                     /* sen          */
    int swp_len = 6;                                       /* swp_len      */
    int max_nss = 1;                                       /* max_nss      */
    int data_len = 44;                                     /* data_len     */
    int fill_flag = 1;                                     /* fill_flg     */
    int fill = 1280000084;                                 /* fill         */
    int da_method = 0;                                     /* da_method    */
    string qual_names = "Bad Data";                        /* name         */
    string qual_names = "Use with Caution";                /* name         */
    string qual_names = "Ok";                              /* name         */
    struct Sensor0 {
        string name = "Electron Spectrum";                 /* name         */
        int d_type = 2;                                    /* d_type       */
        int status = 1;                                    /* status       */
        int tdw_len = 32;                                  /* tdw_len      */
        int time_offset = 0;                               /* time_offset  */
    };
    struct Table0 {
        int tbl_sca_sz = 6;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 6;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                        Table 0
 *  Look up table of lower energy bin edges (KeV). This along
 *  with the upper edges defines the energy passband of each
 *  scan step.
 * 
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 1;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_ele_sz  */
        int format [1] = {0};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [6] = {                                  /* scale factor */
          -2, -2, -2, -2, -2, -2                           /*  000 - 005   */
        };
        int values [6] = {                                 /* values       */
          4170, 5270, 7030, 9670, 12750, 23750             /*  000 - 005   */
        };
    };
    struct Table1 {
        int tbl_sca_sz = 6;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 6;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                        Table 1
 *  Look up table of upper energy bin edges (KeV). This along
 *  with the lower edges defines the energy passband of each
 *  scan step.
 * 
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 1;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_ele_sz  */
        int format [1] = {0};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [6] = {                                  /* scale factor */
          -2, -2, -2, -2, -2, -2                           /*  000 - 005   */
        };
        int values [6] = {                                 /* values       */
          5270, 7030, 9670, 12750, 23750, 45310            /*  000 - 005   */
        };
    };
    struct Table2 {
        int tbl_sca_sz = 6;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 6;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                        Table 2
 *  Look up table of center energy bin (KeV).  Center Energies
 *  are figured linearly from Table 0 and 1 info.
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 1;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_ele_sz  */
        int format [1] = {0};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [6] = {                                  /* scale factor */
          -2, -2, -2, -2, -2, -2                           /*  000 - 005   */
        };
        int values [6] = {                                 /* values       */
          4720, 6150, 8350, 11210, 18250, 34530            /*  000 - 005   */
        };
    };
    struct Table3 {
        int tbl_sca_sz = 2;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 2;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 3
 *  This table contains the sets of polynomial coefficients which
 *  put the data value into the working math buffer.
 */
        int tbl_var = 0;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {2};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [2] = {0, 0};                            /* scale factor */
        int values [2] = {0, 1};                           /* values       */
    };
    struct Table4 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 4
 *  This table contains the conversion factor taking eV to keV.
 *  Primary purpose is conversion of energy units.
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {3};                               /* scale factor */
        int values [1] = {1};                              /* values       */
    };
    struct Table5 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 5
 *  This table contains the conversion factor taking eV to erg.
 *  Primary purpose is conversion of energy units.
 */
        int tbl_var = 0;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {-15};                             /* scale factor */
        int values [1] = {1602};                           /* values       */
    };
    struct Table6 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 6
 *  This table contains the mass dependency used in the conversion to
 *  distribution function (needed since computation uses the particle
 *  particle energy and not velocity).  It also has necessary scaling
 *  to put units into s**3/km***6
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {-31};                             /* scale factor */
        int values [1] = {4149605};                        /* values       */
    };
    struct Table7 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 7
 *  This table contains the conversion factor taking the velocity
 *  distribution function from (s**3/km**6) to (s**3/m**6).  This is
 *  the number of km**6 in a m**6.
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {-18};                             /* scale factor */
        int values [1] = {1};                              /* values       */
    };
    struct Table8 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 8
 *  This table contains the conversion factor taking the velocity
 *  distribution function from (s**3/km**6) to (s**3/cm**6).  This is
 *  the number of km**6 in a cm**6.
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {-30};                             /* scale factor */
        int values [1] = {1};                              /* values       */
    };
    struct Table9 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 9
 *  This table contains the conversion factor taking cm to meters.
 *  The value is the number of cm in a m.
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {2};                               /* scale factor */
        int values [1] = {1};                              /* values       */
    };
    struct Table10 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 10
 *  This table contains the conversion factor taking cm to kilometers.
 *  The value is the number of cm in a km.
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {5};                               /* scale factor */
        int values [1] = {1};                              /* values       */
    };
    struct Table11 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 11
 *  This table contains the electron charge in Coulombs
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {-22};                             /* scale factor */
        int values [1] = {1602};                           /* values       */
    };
    struct Table12 {
        int tbl_sca_sz = 1;                                /* tbl_sca_sz   */
        int tbl_ele_sz = 1;                                /* tbl_ele_sz   */
        int tbl_type = 0;                                  /* tbl_type     */
/*
 *                           TABLE 12
 *  This table contains the expression 2 / m, where m is the electron
 *  mass in gm
 */
        int tbl_var = 2;                                   /* tbl_var      */
        int tbl_expand = 0;                                /* tbl_expand   */
        int crit_act_sz = 0;                               /* crit_act_ele */
        int format [1] = {1};                              /* format       */
        int offset [1] = {0};                              /* offsets      */
        int scale [1] = {22};                              /* scale factor */
        int values [1] = {219539};                         /* values       */
    };
}
