-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 23:32:43 2023 UTC
-- File 20220710_213341_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 8.717067 to 49.467105
-each separately from 8s to 49s and from 36762us to 717356us.
   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.429584 in 1 packets: 18
      16.889533 in 1 packets: 36
      6.429765 in 1 packets: 54
MIU packet time from 2022-07-10T21:33:52.717.067.000 to 2022-07-10T21:34:33.467.105.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.429584 in 1 packets: 18
      16.889533 in 1 packets: 36
      6.429765 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 9.6155137 to 50.6153650
   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, ...
      17.9999347 in 1 packets: 18
      16.9999383 in 1 packets: 36
      5.9999783 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 72 packets (all packets)
Temperature XO: 
      C2 -> 38.8 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 20220710_213341_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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.3325820 to 10.3328710
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4295190  -- OK for SL --
   MIU time from 2022-07-10T21:33:52.717.067.000 to 2022-07-10T21:33:52.717.356.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.429584

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.7623900 to 27.7626790
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8894710  -- OK for SL --
   MIU time from 2022-07-10T21:34:10.146.940.000 to 2022-07-10T21:34:10.147.229.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.889533

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.6521500 to 44.6524390
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.4297430  -- OK for SL --
   MIU time from 2022-07-10T21:34:27.036.762.000 to 2022-07-10T21:34:27.037.051.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.429765

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.0821820 to 51.0824710
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-10T21:34:33.466.816.000 to 2022-07-10T21:34:33.467.105.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 = 8, 32bit 10MHz counter = 10.332582000 corrected by 40bit 10MHz counter of 9.615513700 obtained at 1Hz counter of 8. Result: 8.717070881
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-10T21:33:52.716.926.725
   Max 1st sample MIU time among all SL packets: 2022-07-10T21:34:33.466.964.725
   Min 1st sample XO time among all SL packets: 8.716930606
   Max 1st sample XO time among all SL packets: 49.466967406
   TM values from -309 to 269 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-10T21:33:52.716.926.725 (XO: 8.716930606 - 8.717236607, t=38.8 degC)  Rank: 00074
   TM values: Max =   227  Min =  -268  Ave =    -4.52  Std =    29.86
   Min TM value:-268 at an offset of 103.013 usec -> 2022-07-10T21:33:52.717.029.737 (XO: 8.717033619)
   Max TM value:227 at an offset of 100.525 usec -> 2022-07-10T21:33:52.717.027.250 (XO: 8.717031131)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 103.063 usec -> 2022-07-10T21:33:52.717.029.787 (XO: 8.717033669)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 100.650 usec -> 2022-07-10T21:33:52.717.027.375 (XO: 8.717031256)

 - Block number: 2 starting at 2022-07-10T21:34:10.146.799.725 (XO: 26.146801853 - 26.147107855, t=38.8 degC)  Rank: 00074
   TM values: Max =   239  Min =  -309  Ave =    -4.52  Std =    32.19
   Min TM value:-309 at an offset of 117.075 usec -> 2022-07-10T21:34:10.146.916.800 (XO: 26.146918929)
   Max TM value:239 at an offset of 116.838 usec -> 2022-07-10T21:34:10.146.916.562 (XO: 26.146918691)
   Max dTM/dt [1/us]:2.70e+03 at an offset of 119.450 usec -> 2022-07-10T21:34:10.146.919.175 (XO: 26.146921304)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 116.963 usec -> 2022-07-10T21:34:10.146.916.687 (XO: 26.146918816)

 - Block number: 3 starting at 2022-07-10T21:34:27.036.621.725 (XO: 43.036623157 - 43.036929158, t=38.8 degC)  Rank: 00077
   TM values: Max =   269  Min =  -270  Ave =    -4.38  Std =    35.69
   Min TM value:-270 at an offset of 116.750 usec -> 2022-07-10T21:34:27.036.738.475 (XO: 43.036739907)
   Max TM value:269 at an offset of 112.600 usec -> 2022-07-10T21:34:27.036.734.325 (XO: 43.036735757)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 116.888 usec -> 2022-07-10T21:34:27.036.738.612 (XO: 43.036740045)
   Min dTM/dt [1/us]:-2.65e+03 at an offset of 114.500 usec -> 2022-07-10T21:34:27.036.736.225 (XO: 43.036737657)

 - Block number: 4 starting at 2022-07-10T21:34:33.466.675.725 (XO: 49.466678405 - 49.466984406, t=38.8 degC)  Rank: 00079
   TM values: Max =   262  Min =  -283  Ave =    -4.47  Std =    34.76
   Min TM value:-283 at an offset of 131.675 usec -> 2022-07-10T21:34:33.466.807.400 (XO: 49.466810081)
   Max TM value:262 at an offset of 105.750 usec -> 2022-07-10T21:34:33.466.781.475 (XO: 49.466784155)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 131.725 usec -> 2022-07-10T21:34:33.466.807.450 (XO: 49.466810131)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 105.888 usec -> 2022-07-10T21:34:33.466.781.612 (XO: 49.466784293)
