-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 10 07:36:48 2023 UTC
-- File 20220530_155404_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.192338 to 51.927675
-each separately from 11s to 51s and from 192338us to 927675us.
   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, ...
      6.150500 in 1 packets: 18
      18.442139 in 1 packets: 36
      16.141542 in 1 packets: 54
MIU packet time from 2022-05-30T15:54:18.192.338.000 to 2022-05-30T15:54:58.927.675.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, ...
      6.150500 in 1 packets: 18
      18.442139 in 1 packets: 36
      16.141542 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 13.2002343 to 53.2000986
   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, ...
      5.9999796 in 1 packets: 18
      17.9999390 in 1 packets: 36
      15.9999457 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      02 -> 52.4 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C4 -> 42.0 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 20220530_155404_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.3925739 to 13.3928629
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.1504790  -- OK for SL --
   MIU time from 2022-05-30T15:54:18.192.338.000 to 2022-05-30T15:54:18.192.627.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.150500

 - 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 19.5433419 to 19.5436309
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4420790  -- OK for SL --
   MIU time from 2022-05-30T15:54:24.343.127.000 to 2022-05-30T15:54:24.343.416.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.442139

 - 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 37.9857099 to 37.9859989
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1414870  -- OK for SL --
   MIU time from 2022-05-30T15:54:42.785.555.000 to 2022-05-30T15:54:42.785.844.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.141542

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.1274859 to 54.1277749
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-30T15:54:58.927.386.000 to 2022-05-30T15:54:58.927.675.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.392573900 corrected by 40bit 10MHz counter of 13.200234300 obtained at 1Hz counter of 11. Result: 11.192340254
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2022-05-30T15:54:18.192.197.725
   Max 1st sample MIU time among all SL packets: 2022-05-30T15:54:58.927.534.725
   Min 1st sample XO time among all SL packets: 11.192199978
   Max 1st sample XO time among all SL packets: 51.927539086
   TM values from -282 to 239 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-30T15:54:18.192.197.725 (XO: 11.192199978 - 11.192505980, t=42.0 degC)  Rank: 00085
   TM values: Max =   197  Min =  -223  Ave =    -4.54  Std =    25.39
   Min TM value:-223 at an offset of 150.613 usec -> 2022-05-30T15:54:18.192.348.338 (XO: 11.192350591)
   Max TM value:197 at an offset of 124.825 usec -> 2022-05-30T15:54:18.192.322.550 (XO: 11.192324804)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 150.751 usec -> 2022-05-30T15:54:18.192.348.475 (XO: 11.192350729)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 136.388 usec -> 2022-05-30T15:54:18.192.334.112 (XO: 11.192336366)

 - Block number: 2 starting at 2022-05-30T15:54:24.342.986.725 (XO: 17.342988857 - 17.343294858, t=42.0 degC)  Rank: 00080
   TM values: Max =   209  Min =  -282  Ave =    -4.38  Std =    28.21
   Min TM value:-282 at an offset of 194.788 usec -> 2022-05-30T15:54:24.343.181.513 (XO: 17.343183645)
   Max TM value:209 at an offset of 194.538 usec -> 2022-05-30T15:54:24.343.181.263 (XO: 17.343183395)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 111.300 usec -> 2022-05-30T15:54:24.343.098.025 (XO: 17.343100157)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 194.676 usec -> 2022-05-30T15:54:24.343.181.400 (XO: 17.343183533)

 - Block number: 3 starting at 2022-05-30T15:54:42.785.414.725 (XO: 35.785419317 - 35.785725318, t=42.0 degC)  Rank: 00079
   TM values: Max =   239  Min =  -247  Ave =    -4.50  Std =    18.28
   Min TM value:-247 at an offset of 109.413 usec -> 2022-05-30T15:54:42.785.524.137 (XO: 35.785528730)
   Max TM value:239 at an offset of 111.800 usec -> 2022-05-30T15:54:42.785.526.525 (XO: 35.785531117)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 111.650 usec -> 2022-05-30T15:54:42.785.526.375 (XO: 35.785530967)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 109.263 usec -> 2022-05-30T15:54:42.785.523.987 (XO: 35.785528580)

 - Block number: 4 starting at 2022-05-30T15:54:58.927.245.725 (XO: 51.927250085 - 51.927556086, t=42.0 degC)  Rank: 00076
   TM values: Max =   235  Min =  -260  Ave =    -4.41  Std =    24.28
   Min TM value:-260 at an offset of 98.863 usec -> 2022-05-30T15:54:58.927.344.587 (XO: 51.927348948)
   Max TM value:235 at an offset of 101.238 usec -> 2022-05-30T15:54:58.927.346.962 (XO: 51.927351323)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 131.063 usec -> 2022-05-30T15:54:58.927.376.787 (XO: 51.927381148)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 98.713 usec -> 2022-05-30T15:54:58.927.344.437 (XO: 51.927348798)
