/* PP PM2 calibrated parameters, version 2, 2015-11-14 */

OBJECT                 = COLUMN
    NAME               = "SESAME_SEQ_ID"
    DATA_TYPE          = ASCII_INTEGER
    START_BYTE         = 1
    BYTES              = 6
    UNIT               = "N/A"
    FORMAT             = "I6"
    DESCRIPTION        = "Sequence ID in the current data file"
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
  NAME                 = "UTC"
  DATA_TYPE            = TIME
  START_BYTE           = 8
  BYTES                = 23
  DESCRIPTION          = "Measurement start time (UTC in PDS standard
                          format YYYY-MM-DDThh:mm:ss.sss)"
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "SESAME_LOCAL_TIME"
    DATA_TYPE          = ASCII_INTEGER
    START_BYTE         = 32
    BYTES              = 15
    FORMAT             = "I15"
    DESCRIPTION        = "Measurement start time. SESAME local time
                         (SLT) runs with a resolution of 1/32 seconds.
                          SLT represents the least significant 32 bits
                          of LOBT. The most significant 5 bits are in
                          CDMS RSST (see SESAME Ready Message)"
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "LP_INT_INC"
    DATA_TYPE          = ASCII_REAL
    START_BYTE         = 48
    BYTES              = 9
    UNIT               = "SECOND"
    FORMAT             = "F9.7"
    DESCRIPTION        = "Time increment duration per integrator unit "
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "LP_VALUE"
    DATA_TYPE          = ASCII_REAL
    START_BYTE         = 58
    BYTES              = 9
    UNIT               = "SECOND"
    FORMAT             = "F9.7"
    DESCRIPTION        = "Integration time of Langmuir probe measurement "
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "LP_MEAS_ERR"
    DATA_TYPE          = ASCII_INTEGER
    START_BYTE         = 68
    BYTES              = 8
    UNIT               = "N/A"
    MISSING_CONSTANT   = 16#0000#
    DESCRIPTION        = "Error code for LP measurement as
                          Hex value 16#xxxx#. The  possible values are:
                          8001  Invalid register address.
                          8002  Error verifying register write.
                          8004  Error accessing power register.
                          8008  MUX setting not allowed.
                          8010  Error accessing PP RAM.
                          8020  Tried to start measurement but a measurement
                                is already running.
                          0040  Error during writing to instrument.
                          0080  Error during reading from instrument.
                          0100  Error using ADC of C-DPU.
                          0200  Error during DAC table generation.
                          0400  Calculated number of samples > N_SAMP_MAX.
                          8800  C-DPU memory exhausted.
                          9000  Measurement time out.
                          2000  Invalid command parameter.
                          8000  Flag indicates fatal error. "
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "TIME_INC"
    DATA_TYPE          = ASCII_REAL
    START_BYTE         = 77
    BYTES              = 9
    UNIT               = "SECOND"
    FORMAT             = "F9.7"
    DESCRIPTION        = "Time increment between samples"
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "NB_SAMPLES"
    DATA_TYPE          = ASCII_INTEGER
    START_BYTE         = 87
    BYTES              = 5
    UNIT               = "N/A"
    FORMAT             = "I5"
    DESCRIPTION        = "Number of used samples (excluding skipped samples) "
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "ERROR_CODE"
    DATA_TYPE          = ASCII_INTEGER
    START_BYTE         = 93
    BYTES              = 8
    UNIT               = "N/A"
    MISSING_CONSTANT   = 16#0000#
    DESCRIPTION        = "Hex value AS 16#XXXX#. The  possible values are:
                          8001  Invalid register address.
                          8002  Error verifying register write.
                          8004  Error accessing power register.
                          8008  MUX setting not allowed.
                          8010  Error accessing PP RAM.
                          8020  Tried to start measurement but a measurement
                                is already running.
                          0040  Error during writing to instrument.
                          0080  Error during reading from instrument.
                          0100  Error using ADC of C-DPU.
                          0200  Error during DAC table generation.
                          0400  Calculated number of samples > N_SAMP_MAX.
                          8800  C-DPU memory exhausted.
                          9000  Measurement time out.
                          2000  Invalid command parameter.
                          8000  Flag indicates fatal error. "
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "NB_FREQ_BINS"
    DATA_TYPE          = ASCII_INTEGER
    START_BYTE         = 102
    BYTES              = 2
    UNIT               = "N/A"
    FORMAT             = "I2"
    DESCRIPTION        = "Number of frequency bins "
END_OBJECT             = COLUMN

OBJECT                 = COLUMN
    NAME               = "MATH_ERR_CODE"
    DATA_TYPE          = ASCII_INTEGER
    START_BYTE         = 105
    BYTES              = 8
    UNIT               = "N/A"
    MISSING_CONSTANT   = 16#0000#
    DESCRIPTION        = "Indicates errors, which can only occur during
                          on-board data reduction (hex value).
                          0001  Reduce: number of vector elements odd or less
                                than 2; fatal.
                          0002  Expand: less than four elements in input 
                                vector; fatal.
                          0004  Too much data for analysis; truncating.
                          0008  Too few data for analysis; padding with '128'
                          0010  Used number of waves is not a power of 2;
                                truncated.
                          0020  Not the expected number of elements in 
                                filtered arrays; fatal.
                          0040  Argument for sine_table() not in valid range
                                0<= deg2 <=720.
                          0080  Overflow in divsin() or result inexact.
                          0100  Too few data for trimmed mean calculation;
                                regular mean used.
                          0200  No data for warr.mean; particular: analysis 
                                yields no data.
                          0400  Passive mode: not enough data in bin.
                          0800  Not enough memory for data reduction."
END_OBJECT             = COLUMN