-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jul 19 08:01:57 2021 UTC
-- File 20210621_164737_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.182034 to 36.256449
-each separately from 10s to 36s and from 182034us to 547896us.
   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, ...
      19.365284 in 1 packets: 18
      6.708264 in 1 packets: 36
MIU packet time from 2021-06-21T16:47:48.182.034.000 to 2021-06-21T16:48:14.256.449.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, ...
      19.365284 in 1 packets: 18
      6.708264 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 11.7897954 to 37.7897010
   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, ...
      18.9999310 in 1 packets: 18
      6.9999746 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
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 20210621_164737_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.9718300 to 11.9721190
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.3652150  -- OK for SL --
   MIU time from 2021-06-21T16:47:48.182.034.000 to 2021-06-21T16:47:48.182.323.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.365284

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.3373340 to 31.3376230
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7082390  -- OK for SL --
   MIU time from 2021-06-21T16:48:07.547.607.000 to 2021-06-21T16:48:07.547.896.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.708264

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.0458620 to 38.0461510
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-21T16:48:14.256.160.000 to 2021-06-21T16:48:14.256.449.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 10, 32bit 10MHz counter = 11.971830000 corrected by 40bit 10MHz counter of 11.789795400 obtained at 1Hz counter of 10. Result: 10.182035255
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-06-21T16:47:48.181.893.725
   Max 1st sample MIU time among all SL packets: 2021-06-21T16:48:14.256.308.725
   Min 1st sample XO time among all SL packets: 10.181894980
   Max 1st sample XO time among all SL packets: 36.256310673
   TM values from -212 to 197 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-21T16:47:48.181.893.725 (XO: 10.181894980 - 10.182200981, t=35.6 degC)  Rank: 00072
   TM values: Max =   145  Min =  -161  Ave =    -4.36  Std =    56.00
   Min TM value:-161 at an offset of 130.825 usec -> 2021-06-21T16:47:48.182.024.550 (XO: 10.182025805)
   Max TM value:145 at an offset of 131.188 usec -> 2021-06-21T16:47:48.182.024.912 (XO: 10.182026168)
   Max dTM/dt [1/us]:1.27e+03 at an offset of 156.601 usec -> 2021-06-21T16:47:48.182.050.325 (XO: 10.182051580)
   Min dTM/dt [1/us]:-1.33e+03 at an offset of 134.375 usec -> 2021-06-21T16:47:48.182.028.100 (XO: 10.182029355)

 - Block number: 2 starting at 2021-06-21T16:48:07.547.466.725 (XO: 29.547469296 - 29.547775297, t=35.6 degC)  Rank: 00055
   TM values: Max =   124  Min =  -132  Ave =    -4.50  Std =    44.57
   Min TM value:-132 at an offset of 198.513 usec -> 2021-06-21T16:48:07.547.665.238 (XO: 29.547667809)
   Max TM value:124 at an offset of 115.663 usec -> 2021-06-21T16:48:07.547.582.387 (XO: 29.547584959)
   Max dTM/dt [1/us]:9.81e+02 at an offset of 131.850 usec -> 2021-06-21T16:48:07.547.598.575 (XO: 29.547601146)
   Min dTM/dt [1/us]:-1.00e+03 at an offset of 182.813 usec -> 2021-06-21T16:48:07.547.649.538 (XO: 29.547652109)

 - Block number: 3 starting at 2021-06-21T16:48:14.256.019.725 (XO: 36.256021672 - 36.256327673, t=35.6 degC)  Rank: 00070
   TM values: Max =   197  Min =  -212  Ave =    -4.42  Std =    64.58
   Min TM value:-212 at an offset of 131.138 usec -> 2021-06-21T16:48:14.256.150.862 (XO: 36.256152810)
   Max TM value:197 at an offset of 153.363 usec -> 2021-06-21T16:48:14.256.173.088 (XO: 36.256175035)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 131.575 usec -> 2021-06-21T16:48:14.256.151.300 (XO: 36.256153248)
   Min dTM/dt [1/us]:-1.64e+03 at an offset of 170.763 usec -> 2021-06-21T16:48:14.256.190.488 (XO: 36.256192435)
