-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 14 10:41:31 2021 UTC
-- File 20210813_123106_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 7.182935 to 58.949332
-each separately from 7s to 58s and from 182935us to 949332us.
   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, ...
      16.645109 in 1 packets: 18
      15.945461 in 1 packets: 36
      19.174671 in 1 packets: 54
MIU packet time from 2021-08-13T12:31:16.182.935.000 to 2021-08-13T12:32:07.949.332.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, ...
      16.645109 in 1 packets: 18
      15.945461 in 1 packets: 36
      19.174671 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 8.9245231 to 59.9243520
   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, ...
      15.9999462 in 1 packets: 18
      15.9999464 in 1 packets: 36
      18.9999363 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.6 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C1 -> 37.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210813_123106_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.1074591 to 9.1077481
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6450550  -- OK for SL --
   MIU time from 2021-08-13T12:31:16.182.935.000 to 2021-08-13T12:31:16.183.224.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.645109

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.7528031 to 25.7530921
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9454070  -- OK for SL --
   MIU time from 2021-08-13T12:31:32.828.333.000 to 2021-08-13T12:31:32.828.622.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.945461

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.6984991 to 41.6987881
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1746070  -- OK for SL --
   MIU time from 2021-08-13T12:31:48.774.083.000 to 2021-08-13T12:31:48.774.372.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.174671

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.8733951 to 60.8736841
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-13T12:32:07.949.043.000 to 2021-08-13T12:32:07.949.332.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 = 7, 32bit 10MHz counter = 9.107459100 corrected by 40bit 10MHz counter of 8.924523100 obtained at 1Hz counter of 7. Result: 7.182936604
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-13T12:31:16.182.794.725
   Max 1st sample MIU time among all SL packets: 2021-08-13T12:32:07.949.191.725
   Min 1st sample XO time among all SL packets: 7.182796328
   Max 1st sample XO time among all SL packets: 58.949194957
   TM values from -283 to 238 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-13T12:31:16.182.794.725 (XO: 7.182796328 - 7.183102329, t=35.6 degC)  Rank: 00076
   TM values: Max =   238  Min =  -283  Ave =    -4.40  Std =    32.25
   Min TM value:-283 at an offset of 88.375 usec -> 2021-08-13T12:31:16.182.883.100 (XO: 7.182884704)
   Max TM value:238 at an offset of 88.150 usec -> 2021-08-13T12:31:16.182.882.875 (XO: 7.182884479)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 86.138 usec -> 2021-08-13T12:31:16.182.880.862 (XO: 7.182882466)
   Min dTM/dt [1/us]:-2.71e+03 at an offset of 88.263 usec -> 2021-08-13T12:31:16.182.882.987 (XO: 7.182884591)

 - Block number: 2 starting at 2021-08-13T12:31:32.828.192.725 (XO: 23.828196258 - 23.828502259, t=35.6 degC)  Rank: 00080
   TM values: Max =   194  Min =  -249  Ave =    -4.40  Std =    19.11
   Min TM value:-249 at an offset of 122.650 usec -> 2021-08-13T12:31:32.828.315.375 (XO: 23.828318908)
   Max TM value:194 at an offset of 125.263 usec -> 2021-08-13T12:31:32.828.317.987 (XO: 23.828321521)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 125.088 usec -> 2021-08-13T12:31:32.828.317.812 (XO: 23.828321346)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 122.500 usec -> 2021-08-13T12:31:32.828.315.225 (XO: 23.828318758)

 - Block number: 3 starting at 2021-08-13T12:31:48.773.942.725 (XO: 39.773945679 - 39.774251680, t=37.2 degC)  Rank: 00080
   TM values: Max =   200  Min =  -236  Ave =    -4.44  Std =    21.11
   Min TM value:-236 at an offset of 120.100 usec -> 2021-08-13T12:31:48.774.062.825 (XO: 39.774065779)
   Max TM value:200 at an offset of 122.738 usec -> 2021-08-13T12:31:48.774.065.462 (XO: 39.774068417)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 122.513 usec -> 2021-08-13T12:31:48.774.065.237 (XO: 39.774068192)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 119.913 usec -> 2021-08-13T12:31:48.774.062.637 (XO: 39.774065592)

 - Block number: 4 starting at 2021-08-13T12:32:07.948.902.725 (XO: 58.948905956 - 58.949211957, t=35.6 degC)  Rank: 00079
   TM values: Max =   215  Min =  -246  Ave =    -4.37  Std =    23.15
   Min TM value:-246 at an offset of 96.138 usec -> 2021-08-13T12:32:07.948.998.862 (XO: 58.949002094)
   Max TM value:215 at an offset of 95.838 usec -> 2021-08-13T12:32:07.948.998.562 (XO: 58.949001794)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 98.525 usec -> 2021-08-13T12:32:07.949.001.250 (XO: 58.949004482)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 95.938 usec -> 2021-08-13T12:32:07.948.998.662 (XO: 58.949001894)
