-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 09:01:33 2023 UTC
-- File 20220123_014122_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 4.227844 to 58.788675
-each separately from 4s to 58s and from 227844us to 788675us.
   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, ...
      17.333483 in 1 packets: 18
      18.153278 in 1 packets: 36
      19.072914 in 1 packets: 54
MIU packet time from 2022-01-23T01:41:29.227.844.000 to 2022-01-23T01:42:23.788.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, ...
      17.333483 in 1 packets: 18
      18.153278 in 1 packets: 36
      19.072914 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.3979276 to 59.3977374
   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, ...
      16.9999401 in 1 packets: 18
      17.9999366 in 1 packets: 36
      18.9999331 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 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 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: 
      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 20220123_014122_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.6257723 to 5.6260613
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3334230  -- OK for SL --
   MIU time from 2022-01-23T01:41:29.227.844.000 to 2022-01-23T01:41:29.228.133.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.333483

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.9594843 to 22.9597733
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1532150  -- OK for SL --
   MIU time from 2022-01-23T01:41:46.561.616.000 to 2022-01-23T01:41:46.561.905.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.153278

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.1129883 to 41.1132773
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0728470  -- OK for SL --
   MIU time from 2022-01-23T01:42:04.715.183.000 to 2022-01-23T01:42:04.715.472.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.072914

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.1861243 to 60.1864133
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-23T01:42:23.788.386.000 to 2022-01-23T01:42:23.788.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 = 4, 32bit 10MHz counter = 5.625772300 corrected by 40bit 10MHz counter of 5.397927600 obtained at 1Hz counter of 4. Result: 4.227845520
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-23T01:41:29.227.703.725
   Max 1st sample MIU time among all SL packets: 2022-01-23T01:42:23.788.534.725
   Min 1st sample XO time among all SL packets: 4.227705245
   Max 1st sample XO time among all SL packets: 58.788538385
   TM values from -227 to 200 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-23T01:41:29.227.703.725 (XO: 4.227705245 - 4.228011246, t=37.2 degC)  Rank: 00076
   TM values: Max =   150  Min =  -216  Ave =    -4.48  Std =    21.77
   Min TM value:-216 at an offset of 128.775 usec -> 2022-01-23T01:41:29.227.832.500 (XO: 4.227834020)
   Max TM value:150 at an offset of 129.025 usec -> 2022-01-23T01:41:29.227.832.750 (XO: 4.227834270)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 128.888 usec -> 2022-01-23T01:41:29.227.832.612 (XO: 4.227834133)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 126.438 usec -> 2022-01-23T01:41:29.227.830.162 (XO: 4.227831683)

 - Block number: 2 starting at 2022-01-23T01:41:46.561.475.725 (XO: 21.561478290 - 21.561784291, t=37.2 degC)  Rank: 00068
   TM values: Max =   149  Min =  -202  Ave =    -4.62  Std =    17.82
   Min TM value:-202 at an offset of 116.300 usec -> 2022-01-23T01:41:46.561.592.025 (XO: 21.561594591)
   Max TM value:149 at an offset of 103.838 usec -> 2022-01-23T01:41:46.561.579.562 (XO: 21.561582128)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 118.575 usec -> 2022-01-23T01:41:46.561.594.300 (XO: 21.561596866)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 116.075 usec -> 2022-01-23T01:41:46.561.591.800 (XO: 21.561594366)

 - Block number: 3 starting at 2022-01-23T01:42:04.715.042.725 (XO: 39.715046228 - 39.715352229, t=37.2 degC)  Rank: 00072
   TM values: Max =   133  Min =  -198  Ave =    -4.62  Std =    16.58
   Min TM value:-198 at an offset of 129.375 usec -> 2022-01-23T01:42:04.715.172.100 (XO: 39.715175603)
   Max TM value:133 at an offset of 129.663 usec -> 2022-01-23T01:42:04.715.172.387 (XO: 39.715175891)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 129.475 usec -> 2022-01-23T01:42:04.715.172.200 (XO: 39.715175703)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 126.988 usec -> 2022-01-23T01:42:04.715.169.712 (XO: 39.715173216)

 - Block number: 4 starting at 2022-01-23T01:42:23.788.245.725 (XO: 58.788249384 - 58.788555385, t=37.2 degC)  Rank: 00070
   TM values: Max =   200  Min =  -227  Ave =    -4.56  Std =    22.51
   Min TM value:-227 at an offset of 118.950 usec -> 2022-01-23T01:42:23.788.364.675 (XO: 58.788368334)
   Max TM value:200 at an offset of 116.550 usec -> 2022-01-23T01:42:23.788.362.275 (XO: 58.788365934)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 119.050 usec -> 2022-01-23T01:42:23.788.364.775 (XO: 58.788368434)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 116.650 usec -> 2022-01-23T01:42:23.788.362.375 (XO: 58.788366034)
