-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov  5 23:59:53 2021 UTC
-- File 20210706_195253_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 4.114951 to 49.789226
-each separately from 4s to 49s and from 27101us to 789226us.
   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, ...
      23.911861 in 1 packets: 18
      3.239914 in 1 packets: 36
      18.521344 in 1 packets: 54
MIU packet time from 2021-07-06T19:53:00.114.951.000 to 2021-07-06T19:53:45.789.226.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, ...
      23.911861 in 1 packets: 18
      3.239914 in 1 packets: 36
      18.521344 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 5.8278974 to 50.8277362
   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, ...
      23.9999141 in 1 packets: 18
      2.9999892 in 1 packets: 36
      17.9999355 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210706_195253_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 5.9428497 to 5.9431387
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.9117750  -- OK for SL --
   MIU time from 2021-07-06T19:53:00.114.951.000 to 2021-07-06T19:53:00.115.240.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.911861

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.8549137 to 29.8552027
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.2399030  -- OK for SL --
   MIU time from 2021-07-06T19:53:24.027.101.000 to 2021-07-06T19:53:24.027.390.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.239914

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.0951057 to 33.0953947
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.5212790  -- OK for SL --
   MIU time from 2021-07-06T19:53:27.267.304.000 to 2021-07-06T19:53:27.267.593.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.521344

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.6166737 to 51.6169627
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-06T19:53:45.788.937.000 to 2021-07-06T19:53:45.789.226.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 = 4, 32bit 10MHz counter = 5.942849700 corrected by 40bit 10MHz counter of 5.827897400 obtained at 1Hz counter of 4. Result: 4.114952702
--
   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: 2021-07-06T19:53:00.114.810.725
   Max 1st sample MIU time among all SL packets: 2021-07-06T19:53:45.789.085.725
   Min 1st sample XO time among all SL packets: 4.114812427
   Max 1st sample XO time among all SL packets: 49.789088987
   TM values from -326 to 309 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-06T19:53:00.114.810.725 (XO: 4.114812427 - 4.115118428, t=37.2 degC)  Rank: 00090
   TM values: Max =   274  Min =  -326  Ave =    -4.54  Std =    30.06
   Min TM value:-326 at an offset of 125.263 usec -> 2021-07-06T19:53:00.114.935.987 (XO: 4.114937690)
   Max TM value:274 at an offset of 127.925 usec -> 2021-07-06T19:53:00.114.938.650 (XO: 4.114940352)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 127.775 usec -> 2021-07-06T19:53:00.114.938.500 (XO: 4.114940202)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 125.125 usec -> 2021-07-06T19:53:00.114.935.850 (XO: 4.114937552)

 - Block number: 2 starting at 2021-07-06T19:53:24.026.960.725 (XO: 28.026962022 - 28.027268023, t=37.2 degC)  Rank: 00085
   TM values: Max =   309  Min =  -303  Ave =    -4.53  Std =    29.77
   Min TM value:-303 at an offset of 126.838 usec -> 2021-07-06T19:53:24.027.087.562 (XO: 28.027088860)
   Max TM value:309 at an offset of 126.600 usec -> 2021-07-06T19:53:24.027.087.325 (XO: 28.027088623)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 129.225 usec -> 2021-07-06T19:53:24.027.089.950 (XO: 28.027091248)
   Min dTM/dt [1/us]:-2.72e+03 at an offset of 126.713 usec -> 2021-07-06T19:53:24.027.087.437 (XO: 28.027088735)

 - Block number: 3 starting at 2021-07-06T19:53:27.267.163.725 (XO: 31.267165687 - 31.267471688, t=37.2 degC)  Rank: 00079
   TM values: Max =   249  Min =  -273  Ave =    -4.51  Std =    26.95
   Min TM value:-273 at an offset of 115.900 usec -> 2021-07-06T19:53:27.267.279.625 (XO: 31.267281587)
   Max TM value:249 at an offset of 130.250 usec -> 2021-07-06T19:53:27.267.293.975 (XO: 31.267295937)
   Max dTM/dt [1/us]:2.61e+03 at an offset of 130.038 usec -> 2021-07-06T19:53:27.267.293.762 (XO: 31.267295725)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 127.450 usec -> 2021-07-06T19:53:27.267.291.175 (XO: 31.267293137)

 - Block number: 4 starting at 2021-07-06T19:53:45.788.796.725 (XO: 49.788799986 - 49.789105987, t=37.2 degC)  Rank: 00078
   TM values: Max =   230  Min =  -294  Ave =    -4.59  Std =    24.89
   Min TM value:-294 at an offset of 115.975 usec -> 2021-07-06T19:53:45.788.912.700 (XO: 49.788915961)
   Max TM value:230 at an offset of 113.388 usec -> 2021-07-06T19:53:45.788.910.112 (XO: 49.788913374)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 116.088 usec -> 2021-07-06T19:53:45.788.912.812 (XO: 49.788916074)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 113.500 usec -> 2021-07-06T19:53:45.788.910.225 (XO: 49.788913486)
