-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 14:16:58 2023 UTC
-- File 20220624_104518_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 9.088153 to 38.508088
-each separately from 9s to 38s and from 87959us to 508088us.
   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, ...
      11.999517 in 1 packets: 18
      17.419551 in 1 packets: 36
MIU packet time from 2022-06-24T10:45:30.088.153.000 to 2022-06-24T10:45:59.508.088.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, ...
      11.999517 in 1 packets: 18
      17.419551 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 10.6509671 to 39.6508577
   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, ...
      11.9999548 in 1 packets: 18
      16.9999358 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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: 
      0 in 1 packets: 1
      1 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: 
      0 in 1 packets: 1
      1 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 20220624_104518_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 10.7391216 to 10.7394106
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9994710  -- OK for SL --
   MIU time from 2022-06-24T10:45:30.088.153.000 to 2022-06-24T10:45:30.088.442.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.999517

 - 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 22.7388816 to 22.7391706
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4194870  -- OK for SL --
   MIU time from 2022-06-24T10:45:42.087.959.000 to 2022-06-24T10:45:42.088.248.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.419551

 - 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 40.1586576 to 40.1589466
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-24T10:45:59.507.799.000 to 2022-06-24T10:45:59.508.088.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 = 9, 32bit 10MHz counter = 10.739121600 corrected by 40bit 10MHz counter of 10.650967100 obtained at 1Hz counter of 9. Result: 9.088154826
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2022-06-24T10:45:30.088.012.725
   Max 1st sample MIU time among all SL packets: 2022-06-24T10:45:59.507.947.725
   Min 1st sample XO time among all SL packets: 9.088014551
   Max 1st sample XO time among all SL packets: 38.507950555
   TM values from -270 to 224 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-24T10:45:30.088.012.725 (XO: 9.088014551 - 9.088320552, t=37.2 degC)  Rank: 00083
   TM values: Max =   224  Min =  -269  Ave =    -4.56  Std =    24.46
   Min TM value:-269 at an offset of 128.513 usec -> 2022-06-24T10:45:30.088.141.237 (XO: 9.088143064)
   Max TM value:224 at an offset of 128.763 usec -> 2022-06-24T10:45:30.088.141.487 (XO: 9.088143314)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 128.625 usec -> 2022-06-24T10:45:30.088.141.350 (XO: 9.088143176)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 126.175 usec -> 2022-06-24T10:45:30.088.138.900 (XO: 9.088140726)

 - Block number: 2 starting at 2022-06-24T10:45:42.087.818.725 (XO: 21.087819759 - 21.088125760, t=37.2 degC)  Rank: 00080
   TM values: Max =   212  Min =  -270  Ave =    -4.55  Std =    28.63
   Min TM value:-270 at an offset of 111.663 usec -> 2022-06-24T10:45:42.087.930.387 (XO: 21.087931422)
   Max TM value:212 at an offset of 109.175 usec -> 2022-06-24T10:45:42.087.927.900 (XO: 21.087928934)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 111.788 usec -> 2022-06-24T10:45:42.087.930.512 (XO: 21.087931547)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 109.275 usec -> 2022-06-24T10:45:42.087.928.000 (XO: 21.087929034)

 - Block number: 3 starting at 2022-06-24T10:45:59.507.658.725 (XO: 38.507661554 - 38.507967555, t=37.2 degC)  Rank: 00080
   TM values: Max =   176  Min =  -261  Ave =    -4.50  Std =    18.72
   Min TM value:-261 at an offset of 123.900 usec -> 2022-06-24T10:45:59.507.782.625 (XO: 38.507785455)
   Max TM value:176 at an offset of 121.338 usec -> 2022-06-24T10:45:59.507.780.062 (XO: 38.507782892)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 124.038 usec -> 2022-06-24T10:45:59.507.782.762 (XO: 38.507785592)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 121.488 usec -> 2022-06-24T10:45:59.507.780.212 (XO: 38.507783042)
