-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec  7 20:25:26 2021 UTC
-- File 20210805_231901_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 6.353867 to 36.183663
-each separately from 6s to 36s and from 183374us to 354156us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.839587 in 1 packets: 18
      18.989342 in 1 packets: 36
MIU packet time from 2021-08-05T23:19:10.353.867.000 to 2021-08-05T23:19:40.183.663.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.839587 in 1 packets: 18
      18.989342 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 7.9164985 to 37.9163992
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.9999637 in 1 packets: 18
      18.9999370 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210805_231901_1227.dat, 3 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.2703661 to 8.2706551
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8395510  -- OK for SL --
   MIU time from 2021-08-05T23:19:10.353.867.000 to 2021-08-05T23:19:10.354.156.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.839587

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.1102061 to 19.1104951
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9892790  -- OK for SL --
   MIU time from 2021-08-05T23:19:21.193.743.000 to 2021-08-05T23:19:21.194.032.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.989342

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.0997741 to 38.1000631
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-05T23:19:40.183.374.000 to 2021-08-05T23:19:40.183.663.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 6, 32bit 10MHz counter = 8.270366100 corrected by 40bit 10MHz counter of 7.916498500 obtained at 1Hz counter of 6. Result: 6.353868768
--
   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-05T23:19:10.353.726.725
   Max 1st sample MIU time among all SL packets: 2021-08-05T23:19:40.183.522.725
   Min 1st sample XO time among all SL packets: 6.353728492
   Max 1st sample XO time among all SL packets: 36.183524231
   TM values from -242 to 183 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-05T23:19:10.353.726.725 (XO: 6.353728492 - 6.354034493, t=37.2 degC)  Rank: 00077
   TM values: Max =   176  Min =  -240  Ave =    -4.44  Std =    22.03
   Min TM value:-240 at an offset of 105.350 usec -> 2021-08-05T23:19:10.353.832.075 (XO: 6.353833843)
   Max TM value:176 at an offset of 105.025 usec -> 2021-08-05T23:19:10.353.831.750 (XO: 6.353833518)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 107.775 usec -> 2021-08-05T23:19:10.353.834.500 (XO: 6.353836268)
   Min dTM/dt [1/us]:-1.61e+03 at an offset of 105.125 usec -> 2021-08-05T23:19:10.353.831.850 (XO: 6.353833618)

 - Block number: 2 starting at 2021-08-05T23:19:21.193.602.725 (XO: 17.193604283 - 17.193910284, t=37.2 degC)  Rank: 00083
   TM values: Max =   177  Min =  -242  Ave =    -4.44  Std =    21.95
   Min TM value:-242 at an offset of 105.363 usec -> 2021-08-05T23:19:21.193.708.087 (XO: 17.193709646)
   Max TM value:177 at an offset of 108.025 usec -> 2021-08-05T23:19:21.193.710.750 (XO: 17.193712309)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 107.813 usec -> 2021-08-05T23:19:21.193.710.537 (XO: 17.193712096)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 78.313 usec -> 2021-08-05T23:19:21.193.681.037 (XO: 17.193682596)

 - Block number: 3 starting at 2021-08-05T23:19:40.183.233.725 (XO: 36.183235230 - 36.183541231, t=37.2 degC)  Rank: 00079
   TM values: Max =   183  Min =  -221  Ave =    -4.43  Std =    23.39
   Min TM value:-221 at an offset of 137.175 usec -> 2021-08-05T23:19:40.183.370.900 (XO: 36.183372405)
   Max TM value:183 at an offset of 105.175 usec -> 2021-08-05T23:19:40.183.338.900 (XO: 36.183340405)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 105.075 usec -> 2021-08-05T23:19:40.183.338.800 (XO: 36.183340305)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 107.213 usec -> 2021-08-05T23:19:40.183.340.937 (XO: 36.183342443)
