-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 17 04:14:11 2021 UTC
-- File 20210815_073249_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 12.743168 to 59.751934
-each separately from 12s to 59s and from 222683us to 751934us.
   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, ...
      12.479226 in 1 packets: 18
      15.259297 in 1 packets: 36
      19.269087 in 1 packets: 54
MIU packet time from 2021-08-15T07:33:04.743.168.000 to 2021-08-15T07:33:51.751.934.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, ...
      12.479226 in 1 packets: 18
      15.259297 in 1 packets: 36
      19.269087 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 13.8911760 to 60.8910191
   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, ...
      12.9999566 in 1 packets: 18
      14.9999498 in 1 packets: 36
      18.9999367 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 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: 
      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 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210815_073249_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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.6343447 to 14.6346337
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4791830  -- OK for SL --
   MIU time from 2021-08-15T07:33:04.743.168.000 to 2021-08-15T07:33:04.743.457.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.479226

 - 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 27.1138167 to 27.1141057
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.2592470  -- OK for SL --
   MIU time from 2021-08-15T07:33:17.222.683.000 to 2021-08-15T07:33:17.222.972.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.259297

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.3733527 to 42.3736417
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.2690230  -- OK for SL --
   MIU time from 2021-08-15T07:33:32.482.269.000 to 2021-08-15T07:33:32.482.558.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.269087

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.6426647 to 61.6429537
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-15T07:33:51.751.645.000 to 2021-08-15T07:33:51.751.934.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 = 12, 32bit 10MHz counter = 14.634344700 corrected by 40bit 10MHz counter of 13.891176000 obtained at 1Hz counter of 12. Result: 12.743171227
--
   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-08-15T07:33:04.743.027.725
   Max 1st sample MIU time among all SL packets: 2021-08-15T07:33:51.751.793.725
   Min 1st sample XO time among all SL packets: 12.743030951
   Max 1st sample XO time among all SL packets: 59.751796806
   TM values from -283 to 215 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-15T07:33:04.743.027.725 (XO: 12.743030951 - 12.743336952, t=37.2 degC)  Rank: 00090
   TM values: Max =   201  Min =  -283  Ave =    -4.44  Std =    25.48
   Min TM value:-283 at an offset of 155.801 usec -> 2021-08-15T07:33:04.743.183.525 (XO: 12.743186752)
   Max TM value:201 at an offset of 113.838 usec -> 2021-08-15T07:33:04.743.141.562 (XO: 12.743144789)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 113.663 usec -> 2021-08-15T07:33:04.743.141.387 (XO: 12.743144614)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 111.075 usec -> 2021-08-15T07:33:04.743.138.800 (XO: 12.743142027)

 - Block number: 2 starting at 2021-08-15T07:33:17.222.542.725 (XO: 25.222544559 - 25.222850560, t=37.2 degC)  Rank: 00079
   TM values: Max =   215  Min =  -257  Ave =    -4.44  Std =    19.56
   Min TM value:-257 at an offset of 122.925 usec -> 2021-08-15T07:33:17.222.665.650 (XO: 25.222667485)
   Max TM value:215 at an offset of 125.513 usec -> 2021-08-15T07:33:17.222.668.237 (XO: 25.222670072)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 125.325 usec -> 2021-08-15T07:33:17.222.668.050 (XO: 25.222669885)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 122.738 usec -> 2021-08-15T07:33:17.222.665.462 (XO: 25.222667297)

 - Block number: 3 starting at 2021-08-15T07:33:32.482.128.725 (XO: 40.482131616 - 40.482437617, t=37.2 degC)  Rank: 00078
   TM values: Max =   204  Min =  -263  Ave =    -4.54  Std =    20.26
   Min TM value:-263 at an offset of 122.175 usec -> 2021-08-15T07:33:32.482.250.900 (XO: 40.482253791)
   Max TM value:204 at an offset of 124.750 usec -> 2021-08-15T07:33:32.482.253.475 (XO: 40.482256366)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 124.563 usec -> 2021-08-15T07:33:32.482.253.287 (XO: 40.482256179)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 121.988 usec -> 2021-08-15T07:33:32.482.250.712 (XO: 40.482253604)

 - Block number: 4 starting at 2021-08-15T07:33:51.751.504.725 (XO: 59.751507805 - 59.751813806, t=37.2 degC)  Rank: 00080
   TM values: Max =   213  Min =  -247  Ave =    -4.51  Std =    21.35
   Min TM value:-247 at an offset of 86.013 usec -> 2021-08-15T07:33:51.751.590.737 (XO: 59.751593818)
   Max TM value:213 at an offset of 88.538 usec -> 2021-08-15T07:33:51.751.593.262 (XO: 59.751596343)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 88.363 usec -> 2021-08-15T07:33:51.751.593.087 (XO: 59.751596168)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 85.850 usec -> 2021-08-15T07:33:51.751.590.575 (XO: 59.751593655)
