-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar  7 06:23:28 2022 UTC
-- File 20220208_054115_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 5.087485 to 57.240247
-each separately from 5s to 57s and from 87485us to 942605us.
   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.495793 in 1 packets: 18
      8.358460 in 1 packets: 36
      20.297353 in 1 packets: 54
MIU packet time from 2022-02-08T05:41:23.087.485.000 to 2022-02-08T05:42:15.240.247.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.495793 in 1 packets: 18
      8.358460 in 1 packets: 36
      20.297353 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 7.1949403 to 59.1947558
   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, ...
      22.9999183 in 1 packets: 18
      7.9999716 in 1 packets: 36
      20.9999256 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      06 -> 47.2 degC in 54 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: 
      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 20220208_054115_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.2824266 to 7.2827156
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4957110  -- OK for SL --
   MIU time from 2022-02-08T05:41:23.087.485.000 to 2022-02-08T05:41:23.087.774.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.495793

 - 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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.7784266 to 30.7787156
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.3584310  -- OK for SL --
   MIU time from 2022-02-08T05:41:46.583.567.000 to 2022-02-08T05:41:46.583.856.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.358460

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.1371466 to 39.1374356
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2972790  -- OK for SL --
   MIU time from 2022-02-08T05:41:54.942.316.000 to 2022-02-08T05:41:54.942.605.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.297353

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.4347146 to 59.4350036
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-08T05:42:15.239.958.000 to 2022-02-08T05:42:15.240.247.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 = 5, 32bit 10MHz counter = 7.282426600 corrected by 40bit 10MHz counter of 7.194940300 obtained at 1Hz counter of 5. Result: 5.087486615
--
   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: 2022-02-08T05:41:23.087.344.725
   Max 1st sample MIU time among all SL packets: 2022-02-08T05:42:15.240.106.725
   Min 1st sample XO time among all SL packets: 5.087346339
   Max 1st sample XO time among all SL packets: 57.240108389
   TM values from -295 to 246 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-08T05:41:23.087.344.725 (XO: 5.087346339 - 5.087652341, t=35.6 degC)  Rank: 00081
   TM values: Max =   225  Min =  -277  Ave =    -4.49  Std =    21.44
   Min TM value:-277 at an offset of 124.738 usec -> 2022-02-08T05:41:23.087.469.462 (XO: 5.087471077)
   Max TM value:225 at an offset of 122.288 usec -> 2022-02-08T05:41:23.087.467.012 (XO: 5.087468627)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 124.850 usec -> 2022-02-08T05:41:23.087.469.575 (XO: 5.087471190)
   Min dTM/dt [1/us]:-2.55e+03 at an offset of 122.375 usec -> 2022-02-08T05:41:23.087.467.100 (XO: 5.087468715)

 - Block number: 2 starting at 2022-02-08T05:41:46.583.426.725 (XO: 28.583429767 - 28.583735768, t=35.6 degC)  Rank: 00089
   TM values: Max =   214  Min =  -293  Ave =    -4.46  Std =    22.26
   Min TM value:-293 at an offset of 123.800 usec -> 2022-02-08T05:41:46.583.550.525 (XO: 28.583553567)
   Max TM value:214 at an offset of 121.325 usec -> 2022-02-08T05:41:46.583.548.050 (XO: 28.583551092)
   Max dTM/dt [1/us]:2.63e+03 at an offset of 123.900 usec -> 2022-02-08T05:41:46.583.550.625 (XO: 28.583553667)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 121.438 usec -> 2022-02-08T05:41:46.583.548.162 (XO: 28.583551205)

 - Block number: 3 starting at 2022-02-08T05:41:54.942.175.725 (XO: 36.942179423 - 36.942485424, t=35.6 degC)  Rank: 00080
   TM values: Max =   245  Min =  -280  Ave =    -4.46  Std =    22.42
   Min TM value:-280 at an offset of 88.213 usec -> 2022-02-08T05:41:54.942.263.937 (XO: 36.942267635)
   Max TM value:245 at an offset of 85.775 usec -> 2022-02-08T05:41:54.942.261.500 (XO: 36.942265198)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 88.313 usec -> 2022-02-08T05:41:54.942.264.037 (XO: 36.942267735)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 85.888 usec -> 2022-02-08T05:41:54.942.261.612 (XO: 36.942265310)

 - Block number: 4 starting at 2022-02-08T05:42:15.239.817.725 (XO: 57.239819388 - 57.240125389, t=35.6 degC)  Rank: 00079
   TM values: Max =   246  Min =  -295  Ave =    -4.56  Std =    28.34
   Min TM value:-295 at an offset of 103.388 usec -> 2022-02-08T05:42:15.239.921.112 (XO: 57.239922776)
   Max TM value:246 at an offset of 100.975 usec -> 2022-02-08T05:42:15.239.918.700 (XO: 57.239920364)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 103.488 usec -> 2022-02-08T05:42:15.239.921.212 (XO: 57.239922876)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 101.075 usec -> 2022-02-08T05:42:15.239.918.800 (XO: 57.239920464)
