-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 12 00:25:57 2023 UTC
-- File 20230511_213354_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 1.232877 to 33.132786
-each separately from 1s to 33s and from 132497us to 709991us.
   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, ...
      20.476536 in 1 packets: 18
      11.422506 in 1 packets: 36
MIU packet time from 2023-05-11T21:33:58.232.877.000 to 2023-05-11T21:34:30.132.786.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, ...
      20.476536 in 1 packets: 18
      11.422506 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 2.8984530 to 34.8983365
   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, ...
      19.9999272 in 1 packets: 18
      11.9999563 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C2 -> 38.8 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20230511_213354_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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.1313306 to 3.1316196
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4764630  -- OK for SL --
   MIU time from 2023-05-11T21:33:58.232.877.000 to 2023-05-11T21:33:58.233.166.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.476536

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.6080826 to 23.6083716
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4224630  -- OK for SL --
   MIU time from 2023-05-11T21:34:18.709.702.000 to 2023-05-11T21:34:18.709.991.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.422506

 - 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:
      50 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.0308346 to 35.0311236
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-11T21:34:30.132.497.000 to 2023-05-11T21:34:30.132.786.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 = 1, 32bit 10MHz counter = 3.131330600 corrected by 40bit 10MHz counter of 2.898453000 obtained at 1Hz counter of 1. Result: 1.232878438
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-05-11T21:33:58.232.736.725
   Max 1st sample MIU time among all SL packets: 2023-05-11T21:34:30.132.645.725
   Min 1st sample XO time among all SL packets: 1.232738163
   Max 1st sample XO time among all SL packets: 33.132647316
   TM values from -172 to 383 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-11T21:33:58.232.736.725 (XO: 1.232738163 - 1.233044164, t=38.8 degC)  Rank: 00051
   TM values: Max =   161  Min =  -158  Ave =    -4.53  Std =    16.99
   Min TM value:-158 at an offset of 128.388 usec -> 2023-05-11T21:33:58.232.865.112 (XO: 1.232866551)
   Max TM value:161 at an offset of 128.100 usec -> 2023-05-11T21:33:58.232.864.825 (XO: 1.232866263)
   Max dTM/dt [1/us]:1.27e+03 at an offset of 130.938 usec -> 2023-05-11T21:33:58.232.867.662 (XO: 1.232869101)
   Min dTM/dt [1/us]:-1.49e+03 at an offset of 128.175 usec -> 2023-05-11T21:33:58.232.864.900 (XO: 1.232866338)

 - Block number: 2 starting at 2023-05-11T21:34:18.709.561.725 (XO: 21.709564750 - 21.709870752, t=38.8 degC)  Rank: 00064
   TM values: Max =   383  Min =  -153  Ave =    -4.36  Std =    24.86
   Min TM value:-153 at an offset of 135.363 usec -> 2023-05-11T21:34:18.709.697.088 (XO: 21.709700113)
   Max TM value:383 at an offset of 134.525 usec -> 2023-05-11T21:34:18.709.696.250 (XO: 21.709699276)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 134.400 usec -> 2023-05-11T21:34:18.709.696.125 (XO: 21.709699151)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 94.938 usec -> 2023-05-11T21:34:18.709.656.662 (XO: 21.709659688)

 - Block number: 3 starting at 2023-05-11T21:34:30.132.356.725 (XO: 33.132358315 - 33.132664316, t=38.8 degC)  Rank: 00050
   TM values: Max =   150  Min =  -172  Ave =    -4.48  Std =    21.13
   Min TM value:-172 at an offset of 128.413 usec -> 2023-05-11T21:34:30.132.485.137 (XO: 33.132486728)
   Max TM value:150 at an offset of 128.138 usec -> 2023-05-11T21:34:30.132.484.862 (XO: 33.132486453)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 131.013 usec -> 2023-05-11T21:34:30.132.487.737 (XO: 33.132489328)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 128.275 usec -> 2023-05-11T21:34:30.132.485.000 (XO: 33.132486590)
