-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 29 15:26:53 2021 UTC
-- File 20210830_105138_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 4.944683 to 56.495129
-each separately from 4s to 56s and from 341021us to 944972us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.396049 in 1 packets: 18
      12.507304 in 1 packets: 36
      19.645937 in 1 packets: 54
MIU packet time from 2021-08-30T10:51:45.944.683.000 to 2021-08-30T10:52:37.495.129.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.396049 in 1 packets: 18
      12.507304 in 1 packets: 36
      19.645937 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 5.8757442 to 57.8755703
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.9999331 in 1 packets: 18
      11.9999598 in 1 packets: 36
      19.9999332 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20210830_105138_1227.dat, 4 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.8204277 to 6.8207167
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.3959830  -- OK for SL --
   MIU time from 2021-08-30T10:51:45.944.683.000 to 2021-08-30T10:51:45.944.972.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.396049

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.2166997 to 26.2169887
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5072630  -- OK for SL --
   MIU time from 2021-08-30T10:52:05.341.021.000 to 2021-08-30T10:52:05.341.310.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.507304

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.7242517 to 38.7245407
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.6458710  -- OK for SL --
   MIU time from 2021-08-30T10:52:17.848.614.000 to 2021-08-30T10:52:17.848.903.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.645937

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      95 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.3704117 to 58.3707007
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-30T10:52:37.494.840.000 to 2021-08-30T10:52:37.495.129.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 6.820427700 corrected by 40bit 10MHz counter of 5.875744200 obtained at 1Hz counter of 4. Result: 4.944686617
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-30T10:51:45.944.542.725
   Max 1st sample MIU time among all SL packets: 2021-08-30T10:52:37.494.988.725
   Min 1st sample XO time among all SL packets: 4.944546342
   Max 1st sample XO time among all SL packets: 56.494991808
   TM values from -278 to 230 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-30T10:51:45.944.542.725 (XO: 4.944546342 - 4.944852343, t=37.2 degC)  Rank: 00082
   TM values: Max =   230  Min =  -256  Ave =    -4.53  Std =    26.07
   Min TM value:-256 at an offset of 110.588 usec -> 2021-08-30T10:51:45.944.653.312 (XO: 4.944656930)
   Max TM value:230 at an offset of 113.100 usec -> 2021-08-30T10:51:45.944.655.825 (XO: 4.944659442)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 112.988 usec -> 2021-08-30T10:51:45.944.655.712 (XO: 4.944659330)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 110.463 usec -> 2021-08-30T10:51:45.944.653.187 (XO: 4.944656805)

 - Block number: 2 starting at 2021-08-30T10:52:05.340.880.725 (XO: 24.340883284 - 24.341189285, t=37.2 degC)  Rank: 00079
   TM values: Max =   221  Min =  -265  Ave =    -4.54  Std =    21.52
   Min TM value:-265 at an offset of 108.838 usec -> 2021-08-30T10:52:05.340.989.562 (XO: 24.340992122)
   Max TM value:221 at an offset of 108.550 usec -> 2021-08-30T10:52:05.340.989.275 (XO: 24.340991834)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 111.175 usec -> 2021-08-30T10:52:05.340.991.900 (XO: 24.340994459)
   Min dTM/dt [1/us]:-2.61e+03 at an offset of 108.650 usec -> 2021-08-30T10:52:05.340.989.375 (XO: 24.340991934)

 - Block number: 3 starting at 2021-08-30T10:52:17.848.473.725 (XO: 36.848477125 - 36.848783126, t=37.2 degC)  Rank: 00076
   TM values: Max =   210  Min =  -257  Ave =    -4.60  Std =    23.28
   Min TM value:-257 at an offset of 119.913 usec -> 2021-08-30T10:52:17.848.593.637 (XO: 36.848597038)
   Max TM value:210 at an offset of 119.663 usec -> 2021-08-30T10:52:17.848.593.387 (XO: 36.848596788)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 117.538 usec -> 2021-08-30T10:52:17.848.591.262 (XO: 36.848594663)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 119.775 usec -> 2021-08-30T10:52:17.848.593.500 (XO: 36.848596900)

 - Block number: 4 starting at 2021-08-30T10:52:37.494.699.725 (XO: 56.494702807 - 56.495008808, t=37.2 degC)  Rank: 00095
   TM values: Max =   229  Min =  -278  Ave =    -4.55  Std =    23.02
   Min TM value:-278 at an offset of 119.138 usec -> 2021-08-30T10:52:37.494.818.862 (XO: 56.494821945)
   Max TM value:229 at an offset of 121.650 usec -> 2021-08-30T10:52:37.494.821.375 (XO: 56.494824457)
   Max dTM/dt [1/us]:2.58e+03 at an offset of 121.525 usec -> 2021-08-30T10:52:37.494.821.250 (XO: 56.494824332)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 119.013 usec -> 2021-08-30T10:52:37.494.818.737 (XO: 56.494821820)
