-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan  4 15:09:44 2022 UTC
-- File 20210907_041248_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 8.465349 to 58.506426
-each separately from 8s to 58s and from 436975us to 862982us.
   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, ...
      7.971337 in 1 packets: 18
      26.425429 in 1 packets: 36
      15.643155 in 1 packets: 54
MIU packet time from 2021-09-07T04:12:59.465.349.000 to 2021-09-07T04:13:49.506.426.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, ...
      7.971337 in 1 packets: 18
      26.425429 in 1 packets: 36
      15.643155 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 9.8995115 to 59.8993471
   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, ...
      7.9999737 in 1 packets: 18
      25.9999145 in 1 packets: 36
      15.9999474 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, ...
      04 -> 49.8 degC in 36 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210907_041248_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.3648614 to 10.3651504
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.9713110  -- OK for SL --
   MIU time from 2021-09-07T04:12:59.465.349.000 to 2021-09-07T04:12:59.465.638.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.971337

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.3364614 to 18.3367504
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.4253430  -- OK for SL --
   MIU time from 2021-09-07T04:13:07.436.975.000 to 2021-09-07T04:13:07.437.264.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.425429

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.7620934 to 44.7623824
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.6431030  -- OK for SL --
   MIU time from 2021-09-07T04:13:33.862.693.000 to 2021-09-07T04:13:33.862.982.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.643155

 - 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 60.4054854 to 60.4057744
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-07T04:13:49.506.137.000 to 2021-09-07T04:13:49.506.426.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 = 8, 32bit 10MHz counter = 10.364861400 corrected by 40bit 10MHz counter of 9.899511500 obtained at 1Hz counter of 8. Result: 8.465351436
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-07T04:12:59.465.208.725
   Max 1st sample MIU time among all SL packets: 2021-09-07T04:13:49.506.285.725
   Min 1st sample XO time among all SL packets: 8.465211160
   Max 1st sample XO time among all SL packets: 58.506288645
   TM values from -275 to 244 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-07T04:12:59.465.208.725 (XO: 8.465211160 - 8.465517161, t=37.2 degC)  Rank: 00085
   TM values: Max =   244  Min =  -246  Ave =    -4.50  Std =    19.38
   Min TM value:-246 at an offset of 127.800 usec -> 2021-09-07T04:12:59.465.336.525 (XO: 8.465338961)
   Max TM value:244 at an offset of 125.600 usec -> 2021-09-07T04:12:59.465.334.325 (XO: 8.465336761)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 125.488 usec -> 2021-09-07T04:12:59.465.334.212 (XO: 8.465336648)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 127.638 usec -> 2021-09-07T04:12:59.465.336.362 (XO: 8.465338798)

 - Block number: 2 starting at 2021-09-07T04:13:07.436.834.725 (XO: 16.436837367 - 16.437143368, t=37.2 degC)  Rank: 00076
   TM values: Max =   214  Min =  -255  Ave =    -4.59  Std =    21.63
   Min TM value:-255 at an offset of 113.275 usec -> 2021-09-07T04:13:07.436.948.000 (XO: 16.436950642)
   Max TM value:214 at an offset of 115.888 usec -> 2021-09-07T04:13:07.436.950.612 (XO: 16.436953254)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 115.713 usec -> 2021-09-07T04:13:07.436.950.437 (XO: 16.436953079)
   Min dTM/dt [1/us]:-1.61e+03 at an offset of 113.163 usec -> 2021-09-07T04:13:07.436.947.887 (XO: 16.436950529)

 - Block number: 3 starting at 2021-09-07T04:13:33.862.552.725 (XO: 42.862556271 - 42.862862272, t=37.2 degC)  Rank: 00085
   TM values: Max =   235  Min =  -275  Ave =    -4.43  Std =    28.94
   Min TM value:-275 at an offset of 184.838 usec -> 2021-09-07T04:13:33.862.737.563 (XO: 42.862741110)
   Max TM value:235 at an offset of 128.675 usec -> 2021-09-07T04:13:33.862.681.400 (XO: 42.862684947)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 131.325 usec -> 2021-09-07T04:13:33.862.684.050 (XO: 42.862687597)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 128.800 usec -> 2021-09-07T04:13:33.862.681.525 (XO: 42.862685072)

 - Block number: 4 starting at 2021-09-07T04:13:49.505.996.725 (XO: 58.505999644 - 58.506305645, t=37.2 degC)  Rank: 00080
   TM values: Max =   204  Min =  -241  Ave =    -4.42  Std =    19.93
   Min TM value:-241 at an offset of 126.263 usec -> 2021-09-07T04:13:49.506.122.987 (XO: 58.506125907)
   Max TM value:204 at an offset of 128.838 usec -> 2021-09-07T04:13:49.506.125.562 (XO: 58.506128482)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 128.663 usec -> 2021-09-07T04:13:49.506.125.387 (XO: 58.506128307)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 126.063 usec -> 2021-09-07T04:13:49.506.122.787 (XO: 58.506125707)
