-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 18:56:25 2023 UTC
-- File 20220108_043450_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.897641 to 45.718868
-each separately from 8s to 45s and from 458278us to 897930us.
   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, ...
      9.689988 in 1 packets: 18
      14.870071 in 1 packets: 36
      12.260012 in 1 packets: 54
MIU packet time from 2022-01-08T04:35:01.897.641.000 to 2022-01-08T04:35:38.718.868.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, ...
      9.689988 in 1 packets: 18
      14.870071 in 1 packets: 36
      12.260012 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.5038621 to 46.5037240
   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, ...
      9.9999627 in 1 packets: 18
      14.9999440 in 1 packets: 36
      11.9999552 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 20220108_043450_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 10.4015034 to 10.4017924
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6899510  -- OK for SL --
   MIU time from 2022-01-08T04:35:01.897.641.000 to 2022-01-08T04:35:01.897.930.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.689988

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.0917434 to 20.0920324
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8700150  -- OK for SL --
   MIU time from 2022-01-08T04:35:11.587.918.000 to 2022-01-08T04:35:11.588.207.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.870071

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.9620474 to 34.9623364
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.2599670  -- OK for SL --
   MIU time from 2022-01-08T04:35:26.458.278.000 to 2022-01-08T04:35:26.458.567.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.260012

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.2223034 to 47.2225924
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-08T04:35:38.718.579.000 to 2022-01-08T04:35:38.718.868.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.401503400 corrected by 40bit 10MHz counter of 9.503862100 obtained at 1Hz counter of 8. Result: 8.897644621
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2022-01-08T04:35:01.897.500.725
   Max 1st sample MIU time among all SL packets: 2022-01-08T04:35:38.718.727.725
   Min 1st sample XO time among all SL packets: 8.897504346
   Max 1st sample XO time among all SL packets: 45.718730784
   TM values from -241 to 234 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-08T04:35:01.897.500.725 (XO: 8.897504346 - 8.897810347, t=37.2 degC)  Rank: 00058
   TM values: Max =   187  Min =  -195  Ave =    -4.54  Std =    21.79
   Min TM value:-195 at an offset of 123.863 usec -> 2022-01-08T04:35:01.897.624.587 (XO: 8.897628209)
   Max TM value:187 at an offset of 121.463 usec -> 2022-01-08T04:35:01.897.622.187 (XO: 8.897625809)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 124.013 usec -> 2022-01-08T04:35:01.897.624.737 (XO: 8.897628359)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 123.800 usec -> 2022-01-08T04:35:01.897.624.525 (XO: 8.897628146)

 - Block number: 2 starting at 2022-01-08T04:35:11.587.777.725 (XO: 18.587780500 - 18.588086501, t=37.2 degC)  Rank: 00056
   TM values: Max =   234  Min =  -229  Ave =    -4.60  Std =    35.74
   Min TM value:-229 at an offset of 96.625 usec -> 2022-01-08T04:35:11.587.874.350 (XO: 18.587877125)
   Max TM value:234 at an offset of 98.713 usec -> 2022-01-08T04:35:11.587.876.437 (XO: 18.587879213)
   Max dTM/dt [1/us]:3.10e+03 at an offset of 101.238 usec -> 2022-01-08T04:35:11.587.878.962 (XO: 18.587881738)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 101.038 usec -> 2022-01-08T04:35:11.587.878.762 (XO: 18.587881538)

 - Block number: 3 starting at 2022-01-08T04:35:26.458.137.725 (XO: 33.458140066 - 33.458446067, t=37.2 degC)  Rank: 00060
   TM values: Max =   207  Min =  -241  Ave =    -4.45  Std =    47.54
   Min TM value:-241 at an offset of 187.188 usec -> 2022-01-08T04:35:26.458.324.913 (XO: 33.458327254)
   Max TM value:207 at an offset of 162.476 usec -> 2022-01-08T04:35:26.458.300.200 (XO: 33.458302542)
   Max dTM/dt [1/us]:2.62e+03 at an offset of 189.251 usec -> 2022-01-08T04:35:26.458.326.975 (XO: 33.458329317)
   Min dTM/dt [1/us]:-2.98e+03 at an offset of 162.651 usec -> 2022-01-08T04:35:26.458.300.375 (XO: 33.458302717)

 - Block number: 4 starting at 2022-01-08T04:35:38.718.438.725 (XO: 45.718441783 - 45.718747784, t=37.2 degC)  Rank: 00064
   TM values: Max =   204  Min =  -219  Ave =    -4.47  Std =    28.54
   Min TM value:-219 at an offset of 99.075 usec -> 2022-01-08T04:35:38.718.537.800 (XO: 45.718540859)
   Max TM value:204 at an offset of 96.625 usec -> 2022-01-08T04:35:38.718.535.350 (XO: 45.718538409)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 96.563 usec -> 2022-01-08T04:35:38.718.535.287 (XO: 45.718538346)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 96.750 usec -> 2022-01-08T04:35:38.718.535.475 (XO: 45.718538534)
