-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 18:42:33 2021 UTC
-- File 20210807_033615_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 13.769651 to 34.270138
-each separately from 13s to 34s and from 269849us to 960002us.
   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, ...
      9.189773 in 1 packets: 18
      11.309847 in 1 packets: 36
MIU packet time from 2021-08-07T03:36:31.769.651.000 to 2021-08-07T03:36:52.270.138.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, ...
      9.189773 in 1 packets: 18
      11.309847 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 14.9326337 to 35.9325639
   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, ...
      8.9999701 in 1 packets: 18
      11.9999601 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
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: 
      1 in 1 packets: 1
      2 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210807_033615_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.7022859 to 15.7025749
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.1897430  -- OK for SL --
   MIU time from 2021-08-07T03:36:31.769.651.000 to 2021-08-07T03:36:31.769.940.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.189773

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.8923179 to 24.8926069
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3098070  -- OK for SL --
   MIU time from 2021-08-07T03:36:40.959.713.000 to 2021-08-07T03:36:40.960.002.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.309847

 - 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 36.2024139 to 36.2027029
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T03:36:52.269.849.000 to 2021-08-07T03:36:52.270.138.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 = 13, 32bit 10MHz counter = 15.702285900 corrected by 40bit 10MHz counter of 14.932633700 obtained at 1Hz counter of 13. Result: 13.769654740
--
   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-07T03:36:31.769.510.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T03:36:52.269.997.725
   Min 1st sample XO time among all SL packets: 13.769514464
   Max 1st sample XO time among all SL packets: 34.269999616
   TM values from -234 to 195 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T03:36:31.769.510.725 (XO: 13.769514464 - 13.769820465, t=37.2 degC)  Rank: 00083
   TM values: Max =   192  Min =  -233  Ave =    -4.52  Std =    17.91
   Min TM value:-233 at an offset of 120.838 usec -> 2021-08-07T03:36:31.769.631.562 (XO: 13.769635302)
   Max TM value:192 at an offset of 123.425 usec -> 2021-08-07T03:36:31.769.634.150 (XO: 13.769637890)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 123.250 usec -> 2021-08-07T03:36:31.769.633.975 (XO: 13.769637715)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 120.675 usec -> 2021-08-07T03:36:31.769.631.400 (XO: 13.769635140)

 - Block number: 2 starting at 2021-08-07T03:36:40.959.572.725 (XO: 22.959576992 - 22.959882993, t=37.2 degC)  Rank: 00076
   TM values: Max =   195  Min =  -234  Ave =    -4.55  Std =    25.64
   Min TM value:-234 at an offset of 167.251 usec -> 2021-08-07T03:36:40.959.739.975 (XO: 22.959744242)
   Max TM value:195 at an offset of 166.988 usec -> 2021-08-07T03:36:40.959.739.713 (XO: 22.959743980)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 123.325 usec -> 2021-08-07T03:36:40.959.696.050 (XO: 22.959700317)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 167.101 usec -> 2021-08-07T03:36:40.959.739.825 (XO: 22.959744092)

 - Block number: 3 starting at 2021-08-07T03:36:52.269.708.725 (XO: 34.269710615 - 34.270016616, t=37.2 degC)  Rank: 00076
   TM values: Max =   180  Min =  -225  Ave =    -4.49  Std =    23.06
   Min TM value:-225 at an offset of 96.375 usec -> 2021-08-07T03:36:52.269.805.100 (XO: 34.269806990)
   Max TM value:180 at an offset of 111.763 usec -> 2021-08-07T03:36:52.269.820.487 (XO: 34.269822378)
   Max dTM/dt [1/us]:1.44e+03 at an offset of 111.613 usec -> 2021-08-07T03:36:52.269.820.337 (XO: 34.269822228)
   Min dTM/dt [1/us]:-1.63e+03 at an offset of 96.250 usec -> 2021-08-07T03:36:52.269.804.975 (XO: 34.269806865)
