-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 12:58:51 2022 UTC
-- File 20210902_193444_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 5.902329 to 59.560557
-each separately from 5s to 59s and from 12112us to 960919us.
   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, ...
      11.109494 in 1 packets: 18
      16.948229 in 1 packets: 36
      25.599349 in 1 packets: 54
MIU packet time from 2021-09-02T19:34:52.902.329.000 to 2021-09-02T19:35:46.560.557.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, ...
      11.109494 in 1 packets: 18
      16.948229 in 1 packets: 36
      25.599349 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 7.2591472 to 61.2589671
   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, ...
      11.9999599 in 1 packets: 18
      15.9999467 in 1 packets: 36
      25.9999133 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 20210902_193444_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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.1614764 to 8.1617654
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1094550  -- OK for SL --
   MIU time from 2021-09-02T19:34:52.902.329.000 to 2021-09-02T19:34:52.902.618.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.109494

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.2712204 to 19.2715094
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9481750  -- OK for SL --
   MIU time from 2021-09-02T19:35:04.012.112.000 to 2021-09-02T19:35:04.012.401.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.948229

 - 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 36.2196844 to 36.2199734
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.5992630  -- OK for SL --
   MIU time from 2021-09-02T19:35:20.960.630.000 to 2021-09-02T19:35:20.960.919.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.599349

 - 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 61.8192364 to 61.8195254
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T19:35:46.560.268.000 to 2021-09-02T19:35:46.560.557.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 = 5, 32bit 10MHz counter = 8.161476400 corrected by 40bit 10MHz counter of 7.259147200 obtained at 1Hz counter of 5. Result: 5.902332178
--
   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: 2021-09-02T19:34:52.902.188.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T19:35:46.560.416.725
   Min 1st sample XO time among all SL packets: 5.902191902
   Max 1st sample XO time among all SL packets: 59.560419874
   TM values from -283 to 267 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T19:34:52.902.188.725 (XO: 5.902191902 - 5.902497903, t=37.2 degC)  Rank: 00073
   TM values: Max =   243  Min =  -237  Ave =    -4.50  Std =    28.95
   Min TM value:-237 at an offset of 106.625 usec -> 2021-09-02T19:34:52.902.295.350 (XO: 5.902298528)
   Max TM value:243 at an offset of 109.338 usec -> 2021-09-02T19:34:52.902.298.062 (XO: 5.902301240)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 109.188 usec -> 2021-09-02T19:34:52.902.297.912 (XO: 5.902301090)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 106.450 usec -> 2021-09-02T19:34:52.902.295.175 (XO: 5.902298353)

 - Block number: 2 starting at 2021-09-02T19:35:04.011.971.725 (XO: 17.011973065 - 17.012279066, t=37.2 degC)  Rank: 00079
   TM values: Max =   267  Min =  -281  Ave =    -4.37  Std =    31.12
   Min TM value:-281 at an offset of 176.001 usec -> 2021-09-02T19:35:04.012.147.725 (XO: 17.012149065)
   Max TM value:267 at an offset of 121.250 usec -> 2021-09-02T19:35:04.012.092.975 (XO: 17.012094315)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 121.100 usec -> 2021-09-02T19:35:04.012.092.825 (XO: 17.012094165)
   Min dTM/dt [1/us]:-2.66e+03 at an offset of 118.513 usec -> 2021-09-02T19:35:04.012.090.237 (XO: 17.012091577)

 - Block number: 3 starting at 2021-09-02T19:35:20.960.489.725 (XO: 33.960493591 - 33.960799592, t=37.2 degC)  Rank: 00077
   TM values: Max =   219  Min =  -283  Ave =    -4.38  Std =    29.49
   Min TM value:-283 at an offset of 106.425 usec -> 2021-09-02T19:35:20.960.596.150 (XO: 33.960600016)
   Max TM value:219 at an offset of 106.075 usec -> 2021-09-02T19:35:20.960.595.800 (XO: 33.960599666)
   Max dTM/dt [1/us]:2.97e+03 at an offset of 108.738 usec -> 2021-09-02T19:35:20.960.598.462 (XO: 33.960602329)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 106.213 usec -> 2021-09-02T19:35:20.960.595.937 (XO: 33.960599804)

 - Block number: 4 starting at 2021-09-02T19:35:46.560.127.725 (XO: 59.560130873 - 59.560436874, t=37.2 degC)  Rank: 00076
   TM values: Max =   242  Min =  -260  Ave =    -4.49  Std =    25.40
   Min TM value:-260 at an offset of 108.288 usec -> 2021-09-02T19:35:46.560.236.012 (XO: 59.560239161)
   Max TM value:242 at an offset of 106.038 usec -> 2021-09-02T19:35:46.560.233.762 (XO: 59.560236911)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 110.650 usec -> 2021-09-02T19:35:46.560.238.375 (XO: 59.560241524)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 108.125 usec -> 2021-09-02T19:35:46.560.235.850 (XO: 59.560238999)
