-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul 18 14:10:39 2021 UTC
-- File 20210611_120058_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 10.978260 to 58.915837
-each separately from 10s to 58s and from 141338us to 978549us.
   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.383528 in 1 packets: 18
      21.778972 in 1 packets: 36
      14.773921 in 1 packets: 54
MIU packet time from 2021-06-11T12:01:11.978.260.000 to 2021-06-11T12:01:59.915.837.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.383528 in 1 packets: 18
      21.778972 in 1 packets: 36
      14.773921 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 12.2799869 to 60.2798187
   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.9999580 in 1 packets: 18
      21.9999228 in 1 packets: 36
      13.9999510 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 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 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: 
      2 in 72 packets (all packets)
Number of generated alerts: 
      4 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 20210611_120058_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:
      158 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2582467 to 13.2585357
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3834870  -- OK for SL --
   MIU time from 2021-06-11T12:01:11.978.260.000 to 2021-06-11T12:01:11.978.549.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.383528

 - 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.6420227 to 24.6423117
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7788950  -- OK for SL --
   MIU time from 2021-06-11T12:01:23.362.077.000 to 2021-06-11T12:01:23.362.366.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.778972

 - 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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.4212067 to 46.4214957
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7738710  -- OK for SL --
   MIU time from 2021-06-11T12:01:45.141.338.000 to 2021-06-11T12:01:45.141.627.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.773921

 - 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:
      43 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.1953667 to 61.1956557
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-11T12:01:59.915.548.000 to 2021-06-11T12:01:59.915.837.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 = 10, 32bit 10MHz counter = 13.258246700 corrected by 40bit 10MHz counter of 12.279986900 obtained at 1Hz counter of 10. Result: 10.978263224
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-06-11T12:01:11.978.119.725
   Max 1st sample MIU time among all SL packets: 2021-06-11T12:01:59.915.696.725
   Min 1st sample XO time among all SL packets: 10.978122948
   Max 1st sample XO time among all SL packets: 58.915699930
   TM values from -661 to 396 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-11T12:01:11.978.119.725 (XO: 10.978122948 - 10.978428950, t=35.6 degC)  Rank: 00158
   TM values: Max =   396  Min =  -661  Ave =    -4.50  Std =    50.73
   Min TM value:-661 at an offset of 49.313 usec -> 2021-06-11T12:01:11.978.169.037 (XO: 10.978172261)
   Max TM value:396 at an offset of 163.926 usec -> 2021-06-11T12:01:11.978.283.650 (XO: 10.978286874)
   Max dTM/dt [1/us]:4.47e+03 at an offset of 154.526 usec -> 2021-06-11T12:01:11.978.274.250 (XO: 10.978277474)
   Min dTM/dt [1/us]:-4.18e+03 at an offset of 50.500 usec -> 2021-06-11T12:01:11.978.170.225 (XO: 10.978173449)

 - Block number: 2 starting at 2021-06-11T12:01:23.361.936.725 (XO: 22.361938792 - 22.362244793, t=35.6 degC)  Rank: 00051
   TM values: Max =   175  Min =  -229  Ave =    -4.48  Std =    31.59
   Min TM value:-229 at an offset of 115.750 usec -> 2021-06-11T12:01:23.362.052.475 (XO: 22.362054542)
   Max TM value:175 at an offset of 75.938 usec -> 2021-06-11T12:01:23.362.012.662 (XO: 22.362014730)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 144.013 usec -> 2021-06-11T12:01:23.362.080.738 (XO: 22.362082805)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 252.388 usec -> 2021-06-11T12:01:23.362.189.113 (XO: 22.362191180)

 - Block number: 3 starting at 2021-06-11T12:01:45.141.197.725 (XO: 44.141199219 - 44.141505220, t=35.6 degC)  Rank: 00048
   TM values: Max =   189  Min =  -159  Ave =    -4.52  Std =    24.23
   Min TM value:-159 at an offset of 46.063 usec -> 2021-06-11T12:01:45.141.243.787 (XO: 44.141245282)
   Max TM value:189 at an offset of 94.338 usec -> 2021-06-11T12:01:45.141.292.062 (XO: 44.141293557)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 94.250 usec -> 2021-06-11T12:01:45.141.291.975 (XO: 44.141293470)
   Min dTM/dt [1/us]:-1.10e+03 at an offset of 23.500 usec -> 2021-06-11T12:01:45.141.221.225 (XO: 44.141222719)

 - Block number: 4 starting at 2021-06-11T12:01:59.915.407.725 (XO: 58.915410929 - 58.915716930, t=35.6 degC)  Rank: 00043
   TM values: Max =   187  Min =  -122  Ave =    -4.50  Std =    13.72
   Min TM value:-122 at an offset of 186.863 usec -> 2021-06-11T12:01:59.915.594.588 (XO: 58.915597792)
   Max TM value:187 at an offset of 127.625 usec -> 2021-06-11T12:01:59.915.535.350 (XO: 58.915538554)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 127.563 usec -> 2021-06-11T12:01:59.915.535.287 (XO: 58.915538492)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 186.763 usec -> 2021-06-11T12:01:59.915.594.488 (XO: 58.915597692)
