-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  9 08:41:54 2021 UTC
-- File 20210807_233951_1227.dat, 108  packets found.
APID:
      1227 (SL) in 108 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 108 packets (all packets)
Total number of packets: 
      18 in 108 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 7.130751 to 81.991175
-each separately from 7s to 81s and from 130751us to 991175us.
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.269698 in 1 packets: 18
      14.949793 in 1 packets: 36
      6.239731 in 1 packets: 54
      25.389683 in 1 packets: 72
      8.009785 in 1 packets: 90
MIU packet time from 2021-08-07T23:40:01.130.751.000 to 2021-08-07T23:41:15.991.175.000
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.269698 in 1 packets: 18
      14.949793 in 1 packets: 36
      6.239731 in 1 packets: 54
      25.389683 in 1 packets: 72
      8.009785 in 1 packets: 90
MIU orbit number: 
      60000 in 108 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 108 packets (all packets)
MIU orbit information / number of events: 
      0 in 108 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 108 packets (all packets)
Instrument anomalies: 
      0 (OK) in 108 packets (all packets)
FPGA configuration version: 
      211 in 108 packets (all packets)
10 MHz counter at the last 1Hz pulse from 8.8238817 to 82.8236353
   Differences in neigboring packets: 
      0.0000000 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.9999335 in 1 packets: 18
      14.9999500 in 1 packets: 36
      5.9999800 in 1 packets: 54
      24.9999168 in 1 packets: 72
      7.9999733 in 1 packets: 90
Temperature FPGA: 
      04 -> 49.8 degC in 108 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 108 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 108 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 108 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 71 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 71 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Survey memory error: 
      0 in 108 packets (all packets)
Event memory error: 
      0 in 108 packets (all packets)
Configuration error: 
      0 in 108 packets (all packets)
SDRAM CRC error: 
      0 in 108 packets (all packets)
Radio gain: 
      0 in 108 packets (all packets)
Radio bandwidth: 
      0 in 108 packets (all packets)
Digital gain: 
      0 in 108 packets (all packets)
Analog gain: 
      0 in 108 packets (all packets)
 
SURVEY DATA READER
-- File 20210807_233951_1227.dat, 6 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 8.9546341 to 8.9549231
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2696310  -- OK for SL --
   MIU time from 2021-08-07T23:40:01.130.751.000 to 2021-08-07T23:40:01.131.040.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.269698

 - 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 29.2245541 to 29.2248431
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9497430  -- OK for SL --
   MIU time from 2021-08-07T23:40:21.400.738.000 to 2021-08-07T23:40:21.401.027.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.949793

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.1745861 to 44.1748751
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.2397110  -- OK for SL --
   MIU time from 2021-08-07T23:40:36.350.820.000 to 2021-08-07T23:40:36.351.109.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.239731

 - 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 50.4145861 to 50.4148751
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.3895990  -- OK for SL --
   MIU time from 2021-08-07T23:40:42.590.840.000 to 2021-08-07T23:40:42.591.129.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.389683

 - Block number: 5 from the sequence of 18 packets.
   Block numbers in the data:
      5 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 75.8044741 to 75.8047631
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0097590  -- OK for SL --
   MIU time from 2021-08-07T23:41:07.980.812.000 to 2021-08-07T23:41:07.981.101.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.009785

 - Block number: 6 from the sequence of 18 packets.
   Block numbers in the data:
      6 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 83.8145221 to 83.8148111
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T23:41:15.990.886.000 to 2021-08-07T23:41:15.991.175.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 108 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 7, 32bit 10MHz counter = 8.954634100 corrected by 40bit 10MHz counter of 8.823881700 obtained at 1Hz counter of 7. Result: 7.130752831
--
   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-07T23:40:01.130.610.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T23:41:15.991.034.725
   Min 1st sample XO time among all SL packets: 7.130612556
   Max 1st sample XO time among all SL packets: 81.991038895
   TM values from -264 to 203 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T23:40:01.130.610.725 (XO: 7.130612556 - 7.130918557, t=37.2 degC)  Rank: 00081
   TM values: Max =   198  Min =  -242  Ave =    -4.42  Std =    18.26
   Min TM value:-242 at an offset of 127.575 usec -> 2021-08-07T23:40:01.130.738.300 (XO: 7.130740131)
   Max TM value:198 at an offset of 130.100 usec -> 2021-08-07T23:40:01.130.740.825 (XO: 7.130742656)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 129.950 usec -> 2021-08-07T23:40:01.130.740.675 (XO: 7.130742506)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 127.388 usec -> 2021-08-07T23:40:01.130.738.112 (XO: 7.130739944)

 - Block number: 2 starting at 2021-08-07T23:40:21.400.597.725 (XO: 27.400599987 - 27.400905988, t=37.2 degC)  Rank: 00079
   TM values: Max =   186  Min =  -237  Ave =    -4.46  Std =    18.82
   Min TM value:-237 at an offset of 127.588 usec -> 2021-08-07T23:40:21.400.725.312 (XO: 27.400727575)
   Max TM value:186 at an offset of 130.200 usec -> 2021-08-07T23:40:21.400.727.925 (XO: 27.400730187)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 130.000 usec -> 2021-08-07T23:40:21.400.727.725 (XO: 27.400729987)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 127.400 usec -> 2021-08-07T23:40:21.400.725.125 (XO: 27.400727387)

 - Block number: 3 starting at 2021-08-07T23:40:36.350.679.725 (XO: 42.350681782 - 42.350987783, t=37.2 degC)  Rank: 00088
   TM values: Max =   182  Min =  -222  Ave =    -4.51  Std =    17.84
   Min TM value:-222 at an offset of 112.463 usec -> 2021-08-07T23:40:36.350.792.187 (XO: 42.350794245)
   Max TM value:182 at an offset of 127.575 usec -> 2021-08-07T23:40:36.350.807.300 (XO: 42.350809358)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 127.438 usec -> 2021-08-07T23:40:36.350.807.162 (XO: 42.350809220)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 124.763 usec -> 2021-08-07T23:40:36.350.804.487 (XO: 42.350806545)

 - Block number: 4 starting at 2021-08-07T23:40:42.590.699.725 (XO: 48.590702574 - 48.591008575, t=37.2 degC)  Rank: 00079
   TM values: Max =   191  Min =  -229  Ave =    -4.50  Std =    19.90
   Min TM value:-229 at an offset of 99.600 usec -> 2021-08-07T23:40:42.590.799.325 (XO: 48.590802175)
   Max TM value:191 at an offset of 114.988 usec -> 2021-08-07T23:40:42.590.814.712 (XO: 48.590817562)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 114.800 usec -> 2021-08-07T23:40:42.590.814.525 (XO: 48.590817375)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 112.175 usec -> 2021-08-07T23:40:42.590.811.900 (XO: 48.590814750)

 - Block number: 5 starting at 2021-08-07T23:41:07.980.671.725 (XO: 73.980675159 - 73.980981160, t=37.2 degC)  Rank: 00078
   TM values: Max =   200  Min =  -230  Ave =    -4.62  Std =    25.01
   Min TM value:-230 at an offset of 127.588 usec -> 2021-08-07T23:41:07.980.799.312 (XO: 73.980802747)
   Max TM value:200 at an offset of 127.313 usec -> 2021-08-07T23:41:07.980.799.037 (XO: 73.980802472)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 130.063 usec -> 2021-08-07T23:41:07.980.801.787 (XO: 73.980805222)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 127.450 usec -> 2021-08-07T23:41:07.980.799.175 (XO: 73.980802610)

 - Block number: 6 starting at 2021-08-07T23:41:15.990.745.725 (XO: 81.990749894 - 81.991055895, t=37.2 degC)  Rank: 00076
   TM values: Max =   203  Min =  -264  Ave =    -4.50  Std =    27.09
   Min TM value:-264 at an offset of 177.426 usec -> 2021-08-07T23:41:15.990.923.150 (XO: 81.990927319)
   Max TM value:203 at an offset of 103.413 usec -> 2021-08-07T23:41:15.990.849.137 (XO: 81.990853306)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 106.100 usec -> 2021-08-07T23:41:15.990.851.825 (XO: 81.990855994)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 103.538 usec -> 2021-08-07T23:41:15.990.849.262 (XO: 81.990853431)
