-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Apr 27 23:04:18 2023 UTC
-- File 20230427_210845_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.301477 to 33.501771
-each separately from 1s to 33s and from 301477us to 861835us.
   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, ...
      19.559780 in 1 packets: 18
      12.639647 in 1 packets: 36
MIU packet time from 2023-04-27T21:08:49.301.477.000 to 2023-04-27T21:09:21.501.771.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, ...
      19.559780 in 1 packets: 18
      12.639647 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.4780303 to 34.4779138
   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, ...
      18.9999308 in 1 packets: 18
      12.9999527 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 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 20230427_210845_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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.7795081 to 2.7797971
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.5597110  -- OK for SL --
   MIU time from 2023-04-27T21:08:49.301.477.000 to 2023-04-27T21:08:49.301.766.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.559780

 - 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 22.3395081 to 22.3397971
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6395990  -- OK for SL --
   MIU time from 2023-04-27T21:09:08.861.546.000 to 2023-04-27T21:09:08.861.835.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.639647

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.9793961 to 34.9796851
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-27T21:09:21.501.482.000 to 2023-04-27T21:09:21.501.771.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 = 2.779508100 corrected by 40bit 10MHz counter of 2.478030300 obtained at 1Hz counter of 1. Result: 1.301478915
--
   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-04-27T21:08:49.301.336.725
   Max 1st sample MIU time among all SL packets: 2023-04-27T21:09:21.501.630.725
   Min 1st sample XO time among all SL packets: 1.301338640
   Max 1st sample XO time among all SL packets: 33.501632881
   TM values from -276 to 239 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-27T21:08:49.301.336.725 (XO: 1.301338640 - 1.301644641, t=37.2 degC)  Rank: 00059
   TM values: Max =   209  Min =  -267  Ave =    -4.50  Std =    43.10
   Min TM value:-267 at an offset of 128.163 usec -> 2023-04-27T21:08:49.301.464.887 (XO: 1.301466803)
   Max TM value:209 at an offset of 128.438 usec -> 2023-04-27T21:08:49.301.465.162 (XO: 1.301467078)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 128.300 usec -> 2023-04-27T21:08:49.301.465.025 (XO: 1.301466940)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 65.250 usec -> 2023-04-27T21:08:49.301.401.975 (XO: 1.301403890)

 - Block number: 2 starting at 2023-04-27T21:09:08.861.405.725 (XO: 20.861409826 - 20.861715827, t=37.2 degC)  Rank: 00064
   TM values: Max =   235  Min =  -276  Ave =    -4.51  Std =    51.94
   Min TM value:-276 at an offset of 155.876 usec -> 2023-04-27T21:09:08.861.561.600 (XO: 20.861565702)
   Max TM value:235 at an offset of 128.338 usec -> 2023-04-27T21:09:08.861.534.062 (XO: 20.861538164)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 204.013 usec -> 2023-04-27T21:09:08.861.609.738 (XO: 20.861613839)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 128.438 usec -> 2023-04-27T21:09:08.861.534.162 (XO: 20.861538264)

 - Block number: 3 starting at 2023-04-27T21:09:21.501.341.725 (XO: 33.501343880 - 33.501649881, t=37.2 degC)  Rank: 00060
   TM values: Max =   239  Min =  -248  Ave =    -4.50  Std =    63.08
   Min TM value:-248 at an offset of 92.563 usec -> 2023-04-27T21:09:21.501.434.287 (XO: 33.501436443)
   Max TM value:239 at an offset of 92.275 usec -> 2023-04-27T21:09:21.501.434.000 (XO: 33.501436155)
   Max dTM/dt [1/us]:1.44e+03 at an offset of 118.925 usec -> 2023-04-27T21:09:21.501.460.650 (XO: 33.501462805)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 121.250 usec -> 2023-04-27T21:09:21.501.462.975 (XO: 33.501465130)
