-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 08:24:08 2023 UTC
-- File 20220121_025321_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 3.627033 to 57.112101
-each separately from 3s to 57s and from 111812us to 823669us.
   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, ...
      25.757184 in 1 packets: 18
      11.438585 in 1 packets: 36
      16.288143 in 1 packets: 54
MIU packet time from 2022-01-21T02:53:27.627.033.000 to 2022-01-21T02:54:21.112.101.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, ...
      25.757184 in 1 packets: 18
      11.438585 in 1 packets: 36
      16.288143 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 5.0345988 to 59.0343949
   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, ...
      25.9999023 in 1 packets: 18
      10.9999584 in 1 packets: 36
      16.9999354 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 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C0 -> 35.6 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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: 
      0 in 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20220121_025321_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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.6616318 to 5.6619208
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.7570870  -- OK for SL --
   MIU time from 2022-01-21T02:53:27.627.033.000 to 2022-01-21T02:53:27.627.322.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.757184

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.4190078 to 31.4192968
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4385430  -- OK for SL --
   MIU time from 2022-01-21T02:53:53.384.506.000 to 2022-01-21T02:53:53.384.795.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.438585

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.8578398 to 42.8581288
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2880790  -- OK for SL --
   MIU time from 2022-01-21T02:54:04.823.380.000 to 2022-01-21T02:54:04.823.669.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.288143

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.1462078 to 59.1464968
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-21T02:54:21.111.812.000 to 2022-01-21T02:54:21.112.101.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 = 3, 32bit 10MHz counter = 5.661631800 corrected by 40bit 10MHz counter of 5.034598800 obtained at 1Hz counter of 3. Result: 3.627035383
--
   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.999996100 - 0.999996200
   Min 1st sample MIU time among all SL packets: 2022-01-21T02:53:27.626.892.725
   Max 1st sample MIU time among all SL packets: 2022-01-21T02:54:21.111.960.725
   Min 1st sample XO time among all SL packets: 3.626895107
   Max 1st sample XO time among all SL packets: 57.111962062
   TM values from -175 to 173 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-21T02:53:27.626.892.725 (XO: 3.626895107 - 3.627201108, t=37.2 degC)  Rank: 00058
   TM values: Max =   153  Min =  -167  Ave =    -4.32  Std =    17.58
   Min TM value:-167 at an offset of 125.738 usec -> 2022-01-21T02:53:27.627.018.462 (XO: 3.627020845)
   Max TM value:153 at an offset of 125.438 usec -> 2022-01-21T02:53:27.627.018.162 (XO: 3.627020545)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 128.038 usec -> 2022-01-21T02:53:27.627.020.762 (XO: 3.627023145)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 125.550 usec -> 2022-01-21T02:53:27.627.018.275 (XO: 3.627020658)

 - Block number: 2 starting at 2022-01-21T02:53:53.384.365.725 (XO: 29.384367886 - 29.384673887, t=37.2 degC)  Rank: 00055
   TM values: Max =   173  Min =  -165  Ave =    -4.45  Std =    15.09
   Min TM value:-165 at an offset of 114.663 usec -> 2022-01-21T02:53:53.384.480.387 (XO: 29.384482549)
   Max TM value:173 at an offset of 114.413 usec -> 2022-01-21T02:53:53.384.480.137 (XO: 29.384482299)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 114.313 usec -> 2022-01-21T02:53:53.384.480.037 (XO: 29.384482199)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 114.488 usec -> 2022-01-21T02:53:53.384.480.212 (XO: 29.384482374)

 - Block number: 3 starting at 2022-01-21T02:54:04.823.239.725 (XO: 40.823243153 - 40.823549154, t=35.6 degC)  Rank: 00053
   TM values: Max =   130  Min =  -175  Ave =    -4.38  Std =    19.94
   Min TM value:-175 at an offset of 250.376 usec -> 2022-01-21T02:54:04.823.490.100 (XO: 40.823493529)
   Max TM value:130 at an offset of 236.926 usec -> 2022-01-21T02:54:04.823.476.650 (XO: 40.823480079)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 126.813 usec -> 2022-01-21T02:54:04.823.366.537 (XO: 40.823369966)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 124.250 usec -> 2022-01-21T02:54:04.823.363.975 (XO: 40.823367404)

 - Block number: 4 starting at 2022-01-21T02:54:21.111.671.725 (XO: 57.111673061 - 57.111979062, t=35.6 degC)  Rank: 00055
   TM values: Max =   126  Min =  -141  Ave =    -4.48  Std =    19.26
   Min TM value:-141 at an offset of 111.613 usec -> 2022-01-21T02:54:21.111.783.337 (XO: 57.111784673)
   Max TM value:126 at an offset of 223.863 usec -> 2022-01-21T02:54:21.111.895.588 (XO: 57.111896924)
   Max dTM/dt [1/us]:1.04e+03 at an offset of 109.163 usec -> 2022-01-21T02:54:21.111.780.887 (XO: 57.111782223)
   Min dTM/dt [1/us]:-1.21e+03 at an offset of 237.901 usec -> 2022-01-21T02:54:21.111.909.625 (XO: 57.111910961)
