-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Apr 12 21:29:56 2023 UTC
-- File 20230412_134429_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 10.217951 to 34.115365
-each separately from 10s to 34s and from 115076us to 476125us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.257596 in 1 packets: 18
      6.638951 in 1 packets: 36
MIU packet time from 2023-04-12T13:44:42.217.951.000 to 2023-04-12T13:45:06.115.365.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.257596 in 1 packets: 18
      6.638951 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 10.4754109 to 34.4753257
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      16.9999396 in 1 packets: 18
      6.9999752 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C0 -> 35.6 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20230412_134429_1227.dat, 3 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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.6933629 to 10.6936519
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2575350  -- OK for SL --
   MIU time from 2023-04-12T13:44:42.217.951.000 to 2023-04-12T13:44:42.218.240.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.257596

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.9511869 to 27.9514759
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.6389270  -- OK for SL --
   MIU time from 2023-04-12T13:44:59.475.836.000 to 2023-04-12T13:44:59.476.125.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.638951

 - 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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.5904029 to 34.5906919
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-12T13:45:06.115.076.000 to 2023-04-12T13:45:06.115.365.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 45 XO calibration points at 1Hz counter from 0 to 44
   --- First point: 1Hz counter = 10, 32bit 10MHz counter = 10.693362900 corrected by 40bit 10MHz counter of 10.475410900 obtained at 1Hz counter of 10. Result: 10.217952763
--
   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: 2023-04-12T13:44:42.217.810.725
   Max 1st sample MIU time among all SL packets: 2023-04-12T13:45:06.115.224.725
   Min 1st sample XO time among all SL packets: 10.217812487
   Max 1st sample XO time among all SL packets: 34.115226340
   TM values from -212 to 170 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-12T13:44:42.217.810.725 (XO: 10.217812487 - 10.218118488, t=35.6 degC)  Rank: 00066
   TM values: Max =   162  Min =  -197  Ave =    -4.54  Std =    13.88
   Min TM value:-197 at an offset of 129.513 usec -> 2023-04-12T13:44:42.217.940.237 (XO: 10.217942000)
   Max TM value:162 at an offset of 129.763 usec -> 2023-04-12T13:44:42.217.940.487 (XO: 10.217942250)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 129.625 usec -> 2023-04-12T13:44:42.217.940.350 (XO: 10.217942113)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 126.913 usec -> 2023-04-12T13:44:42.217.937.637 (XO: 10.217939400)

 - Block number: 2 starting at 2023-04-12T13:44:59.475.695.725 (XO: 27.475697790 - 27.476003791, t=35.6 degC)  Rank: 00063
   TM values: Max =   170  Min =  -207  Ave =    -4.52  Std =    16.88
   Min TM value:-207 at an offset of 88.938 usec -> 2023-04-12T13:44:59.475.784.662 (XO: 27.475786728)
   Max TM value:170 at an offset of 75.963 usec -> 2023-04-12T13:44:59.475.771.687 (XO: 27.475773753)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 91.513 usec -> 2023-04-12T13:44:59.475.787.237 (XO: 27.475789303)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 76.125 usec -> 2023-04-12T13:44:59.475.771.850 (XO: 27.475773915)

 - Block number: 3 starting at 2023-04-12T13:45:06.114.935.725 (XO: 34.114937339 - 34.115243340, t=35.6 degC)  Rank: 00066
   TM values: Max =   170  Min =  -212  Ave =    -4.48  Std =    15.65
   Min TM value:-212 at an offset of 113.425 usec -> 2023-04-12T13:45:06.115.049.150 (XO: 34.115050764)
   Max TM value:170 at an offset of 101.413 usec -> 2023-04-12T13:45:06.115.037.137 (XO: 34.115038752)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 115.988 usec -> 2023-04-12T13:45:06.115.051.712 (XO: 34.115053327)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 101.525 usec -> 2023-04-12T13:45:06.115.037.250 (XO: 34.115038864)
