-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jul  7 01:53:08 2023 UTC
-- File 20230628_045125_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 4.895628 to 31.775433
-each separately from 4s to 31s and from 475258us to 895917us.
   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, ...
      17.579341 in 1 packets: 18
      9.299597 in 1 packets: 36
MIU packet time from 2023-06-28T04:51:32.895.628.000 to 2023-06-28T04:51:59.775.433.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, ...
      17.579341 in 1 packets: 18
      9.299597 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 5.7086576 to 32.7085659
   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, ...
      17.9999389 in 1 packets: 18
      8.9999694 in 1 packets: 36
Temperature FPGA: 
      FE -> 57.6 degC in 54 packets (all packets)
Temperature XO: 
      C6 -> 45.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 20230628_045125_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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.6042882 to 6.6045772
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.5792790  -- OK for SL --
   MIU time from 2023-06-28T04:51:32.895.628.000 to 2023-06-28T04:51:32.895.917.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.579341

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.1838562 to 24.1841452
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.2995670  -- OK for SL --
   MIU time from 2023-06-28T04:51:50.475.258.000 to 2023-06-28T04:51:50.475.547.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.299597

 - 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 33.4837122 to 33.4840012
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-28T04:51:59.775.144.000 to 2023-06-28T04:51:59.775.433.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 = 4, 32bit 10MHz counter = 6.604288200 corrected by 40bit 10MHz counter of 5.708657600 obtained at 1Hz counter of 4. Result: 4.895633645
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2023-06-28T04:51:32.895.487.725
   Max 1st sample MIU time among all SL packets: 2023-06-28T04:51:59.775.292.725
   Min 1st sample XO time among all SL packets: 4.895493370
   Max 1st sample XO time among all SL packets: 31.775297661
   TM values from -290 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-28T04:51:32.895.487.725 (XO: 4.895493370 - 4.895799371, t=45.2 degC)  Rank: 00090
   TM values: Max =   193  Min =  -290  Ave =    -4.36  Std =    24.12
   Min TM value:-290 at an offset of 127.013 usec -> 2023-06-28T04:51:32.895.614.737 (XO: 4.895620383)
   Max TM value:193 at an offset of 129.625 usec -> 2023-06-28T04:51:32.895.617.350 (XO: 4.895622995)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 129.450 usec -> 2023-06-28T04:51:32.895.617.175 (XO: 4.895622820)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 126.850 usec -> 2023-06-28T04:51:32.895.614.575 (XO: 4.895620220)

 - Block number: 2 starting at 2023-06-28T04:51:50.475.117.725 (XO: 22.475121040 - 22.475427041, t=45.2 degC)  Rank: 00078
   TM values: Max =   228  Min =  -265  Ave =    -4.35  Std =    26.88
   Min TM value:-265 at an offset of 106.225 usec -> 2023-06-28T04:51:50.475.223.950 (XO: 22.475227266)
   Max TM value:228 at an offset of 105.975 usec -> 2023-06-28T04:51:50.475.223.700 (XO: 22.475227016)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 108.563 usec -> 2023-06-28T04:51:50.475.226.287 (XO: 22.475229603)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 106.088 usec -> 2023-06-28T04:51:50.475.223.812 (XO: 22.475227128)

 - Block number: 3 starting at 2023-06-28T04:51:59.775.003.725 (XO: 31.775008660 - 31.775314661, t=45.2 degC)  Rank: 00079
   TM values: Max =   201  Min =  -282  Ave =    -4.37  Std =    25.25
   Min TM value:-282 at an offset of 114.875 usec -> 2023-06-28T04:51:59.775.118.600 (XO: 31.775123535)
   Max TM value:201 at an offset of 117.363 usec -> 2023-06-28T04:51:59.775.121.087 (XO: 31.775126023)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 117.225 usec -> 2023-06-28T04:51:59.775.120.950 (XO: 31.775125885)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 114.713 usec -> 2023-06-28T04:51:59.775.118.437 (XO: 31.775123373)
