-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Oct 29 23:30:11 2021 UTC
-- File 20210703_135541_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 2.345902 to 36.226732
-each separately from 2s to 36s and from 226443us to 946404us.
   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, ...
      14.599924 in 1 packets: 18
      19.280039 in 1 packets: 36
MIU packet time from 2021-07-03T13:55:42.345.902.000 to 2021-07-03T13:56:16.226.732.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, ...
      14.599924 in 1 packets: 18
      19.280039 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 3.9319289 to 37.9318042
   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, ...
      13.9999485 in 1 packets: 18
      19.9999268 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      07 -> 45.9 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20210703_135541_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.2778316 to 4.2781206
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5998710  -- OK for SL --
   MIU time from 2021-07-03T13:55:42.345.902.000 to 2021-07-03T13:55:42.346.191.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.599924

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.8779916 to 18.8782806
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.2799670  -- OK for SL --
   MIU time from 2021-07-03T13:55:56.946.115.000 to 2021-07-03T13:55:56.946.404.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.280039

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.1582476 to 38.1585366
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-03T13:56:16.226.443.000 to 2021-07-03T13:56:16.226.732.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 = 2, 32bit 10MHz counter = 4.277831600 corrected by 40bit 10MHz counter of 3.931928900 obtained at 1Hz counter of 2. Result: 2.345903980
--
   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-07-03T13:55:42.345.761.725
   Max 1st sample MIU time among all SL packets: 2021-07-03T13:56:16.226.591.725
   Min 1st sample XO time among all SL packets: 2.345763704
   Max 1st sample XO time among all SL packets: 36.226592963
   TM values from -293 to 257 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-03T13:55:42.345.761.725 (XO: 2.345763704 - 2.346069705, t=35.6 degC)  Rank: 00076
   TM values: Max =   242  Min =  -261  Ave =    -4.35  Std =    28.01
   Min TM value:-261 at an offset of 122.825 usec -> 2021-07-03T13:55:42.345.884.550 (XO: 2.345886530)
   Max TM value:242 at an offset of 125.550 usec -> 2021-07-03T13:55:42.345.887.275 (XO: 2.345889255)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 125.438 usec -> 2021-07-03T13:55:42.345.887.162 (XO: 2.345889142)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 166.876 usec -> 2021-07-03T13:55:42.345.928.600 (XO: 2.345930580)

 - Block number: 2 starting at 2021-07-03T13:55:56.945.974.725 (XO: 16.945977331 - 16.946283332, t=35.6 degC)  Rank: 00078
   TM values: Max =   222  Min =  -274  Ave =    -4.36  Std =    25.80
   Min TM value:-274 at an offset of 110.188 usec -> 2021-07-03T13:55:56.946.084.912 (XO: 16.946087518)
   Max TM value:222 at an offset of 112.838 usec -> 2021-07-03T13:55:56.946.087.562 (XO: 16.946090168)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 112.700 usec -> 2021-07-03T13:55:56.946.087.425 (XO: 16.946090031)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 110.100 usec -> 2021-07-03T13:55:56.946.084.825 (XO: 16.946087431)

 - Block number: 3 starting at 2021-07-03T13:56:16.226.302.725 (XO: 36.226303962 - 36.226609963, t=35.6 degC)  Rank: 00081
   TM values: Max =   257  Min =  -293  Ave =    -4.39  Std =    30.35
   Min TM value:-293 at an offset of 165.763 usec -> 2021-07-03T13:56:16.226.468.488 (XO: 36.226469725)
   Max TM value:257 at an offset of 123.975 usec -> 2021-07-03T13:56:16.226.426.700 (XO: 36.226427938)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 121.913 usec -> 2021-07-03T13:56:16.226.424.637 (XO: 36.226425875)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 165.651 usec -> 2021-07-03T13:56:16.226.468.375 (XO: 36.226469613)
