-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 19:50:49 2023 UTC
-- File 20220525_143252_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 11.491048 to 49.600067
-each separately from 11s to 49s and from 95127us to 600067us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.603790 in 1 packets: 18
      11.083287 in 1 packets: 36
      14.420786 in 1 packets: 54
MIU packet time from 2022-05-25T14:33:06.491.048.000 to 2022-05-25T14:33:44.600.067.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.603790 in 1 packets: 18
      11.083287 in 1 packets: 36
      14.420786 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 12.7580513 to 50.7579137
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.9999530 in 1 packets: 18
      10.9999601 in 1 packets: 36
      13.9999493 in 1 packets: 54
Temperature FPGA: 
      07 -> 45.9 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      06 -> 47.2 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C3 -> 40.4 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      1 in 1 packets: 1
      2 in 71 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220525_143252_1227.dat, 4 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2491004 to 13.2493894
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6037430  -- OK for SL --
   MIU time from 2022-05-25T14:33:06.491.048.000 to 2022-05-25T14:33:06.491.337.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.603790

 - 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 25.8531324 to 25.8534214
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.0832470  -- OK for SL --
   MIU time from 2022-05-25T14:33:19.095.127.000 to 2022-05-25T14:33:19.095.416.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.083287

 - 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 36.9366684 to 36.9369574
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4207350  -- OK for SL --
   MIU time from 2022-05-25T14:33:30.178.703.000 to 2022-05-25T14:33:30.178.992.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.420786

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 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 51.3576924 to 51.3579814
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-25T14:33:44.599.778.000 to 2022-05-25T14:33:44.600.067.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 11, 32bit 10MHz counter = 13.249100400 corrected by 40bit 10MHz counter of 12.758051300 obtained at 1Hz counter of 11. Result: 11.491050868
--
   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: 2022-05-25T14:33:06.490.907.725
   Max 1st sample MIU time among all SL packets: 2022-05-25T14:33:44.599.926.725
   Min 1st sample XO time among all SL packets: 11.490910592
   Max 1st sample XO time among all SL packets: 49.599929645
   TM values from -283 to 242 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-25T14:33:06.490.907.725 (XO: 11.490910592 - 11.491216593, t=40.4 degC)  Rank: 00087
   TM values: Max =   240  Min =  -271  Ave =    -4.31  Std =    27.16
   Min TM value:-271 at an offset of 125.338 usec -> 2022-05-25T14:33:06.491.033.062 (XO: 11.491035930)
   Max TM value:240 at an offset of 122.888 usec -> 2022-05-25T14:33:06.491.030.612 (XO: 11.491033480)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 125.488 usec -> 2022-05-25T14:33:06.491.033.212 (XO: 11.491036080)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 122.988 usec -> 2022-05-25T14:33:06.491.030.712 (XO: 11.491033580)

 - Block number: 2 starting at 2022-05-25T14:33:19.094.986.725 (XO: 24.094988176 - 24.095294178, t=40.4 degC)  Rank: 00078
   TM values: Max =   208  Min =  -283  Ave =    -4.43  Std =    23.71
   Min TM value:-283 at an offset of 128.538 usec -> 2022-05-25T14:33:19.095.115.262 (XO: 24.095116714)
   Max TM value:208 at an offset of 128.813 usec -> 2022-05-25T14:33:19.095.115.537 (XO: 24.095116989)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 128.663 usec -> 2022-05-25T14:33:19.095.115.387 (XO: 24.095116839)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 126.213 usec -> 2022-05-25T14:33:19.095.112.937 (XO: 24.095114389)

 - Block number: 3 starting at 2022-05-25T14:33:30.178.562.725 (XO: 35.178564368 - 35.178870369, t=40.4 degC)  Rank: 00079
   TM values: Max =   242  Min =  -253  Ave =    -4.41  Std =    24.59
   Min TM value:-253 at an offset of 124.538 usec -> 2022-05-25T14:33:30.178.687.262 (XO: 35.178688906)
   Max TM value:242 at an offset of 122.088 usec -> 2022-05-25T14:33:30.178.684.812 (XO: 35.178686456)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 124.700 usec -> 2022-05-25T14:33:30.178.687.425 (XO: 35.178689068)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 122.200 usec -> 2022-05-25T14:33:30.178.684.925 (XO: 35.178686568)

 - Block number: 4 starting at 2022-05-25T14:33:44.599.637.725 (XO: 49.599640644 - 49.599946645, t=40.4 degC)  Rank: 00080
   TM values: Max =   199  Min =  -208  Ave =    -4.37  Std =    32.20
   Min TM value:-208 at an offset of 183.101 usec -> 2022-05-25T14:33:44.599.820.825 (XO: 49.599823744)
   Max TM value:199 at an offset of 192.713 usec -> 2022-05-25T14:33:44.599.830.438 (XO: 49.599833357)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 194.263 usec -> 2022-05-25T14:33:44.599.831.988 (XO: 49.599834907)
   Min dTM/dt [1/us]:-1.67e+03 at an offset of 192.838 usec -> 2022-05-25T14:33:44.599.830.563 (XO: 49.599833482)
