-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  8 02:15:24 2022 UTC
-- File 20210909_105538_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.420223 to 45.968743
-each separately from 5s to 45s and from 259128us to 968743us.
   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, ...
      11.838616 in 1 packets: 18
      20.439282 in 1 packets: 36
      8.269466 in 1 packets: 54
MIU packet time from 2021-09-09T10:55:46.420.223.000 to 2021-09-09T10:56:26.968.743.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, ...
      11.838616 in 1 packets: 18
      20.439282 in 1 packets: 36
      8.269466 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 6.6818406 to 46.6817064
   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, ...
      11.9999598 in 1 packets: 18
      19.9999329 in 1 packets: 36
      7.9999731 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210909_105538_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.1020649 to 7.1023539
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8385750  -- OK for SL --
   MIU time from 2021-09-09T10:55:46.420.223.000 to 2021-09-09T10:55:46.420.512.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.838616

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.9409289 to 18.9412179
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4392150  -- OK for SL --
   MIU time from 2021-09-09T10:55:58.259.128.000 to 2021-09-09T10:55:58.259.417.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.439282

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.3804329 to 39.3807219
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.2694390  -- OK for SL --
   MIU time from 2021-09-09T10:56:18.698.699.000 to 2021-09-09T10:56:18.698.988.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.269466

 - 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 47.6501609 to 47.6504499
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-09T10:56:26.968.454.000 to 2021-09-09T10:56:26.968.743.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.102064900 corrected by 40bit 10MHz counter of 6.681840600 obtained at 1Hz counter of 5. Result: 5.420225729
--
   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-09-09T10:55:46.420.082.725
   Max 1st sample MIU time among all SL packets: 2021-09-09T10:56:26.968.602.725
   Min 1st sample XO time among all SL packets: 5.420085453
   Max 1st sample XO time among all SL packets: 45.968606421
   TM values from -272 to 247 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-09T10:55:46.420.082.725 (XO: 5.420085453 - 5.420391454, t=37.2 degC)  Rank: 00082
   TM values: Max =   230  Min =  -262  Ave =    -4.49  Std =    22.45
   Min TM value:-262 at an offset of 121.713 usec -> 2021-09-09T10:55:46.420.204.437 (XO: 5.420207166)
   Max TM value:230 at an offset of 124.300 usec -> 2021-09-09T10:55:46.420.207.025 (XO: 5.420209754)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 124.125 usec -> 2021-09-09T10:55:46.420.206.850 (XO: 5.420209579)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 121.488 usec -> 2021-09-09T10:55:46.420.204.212 (XO: 5.420206941)

 - Block number: 2 starting at 2021-09-09T10:55:58.258.987.725 (XO: 17.258989106 - 17.259295107, t=37.2 degC)  Rank: 00078
   TM values: Max =   247  Min =  -237  Ave =    -4.47  Std =    24.07
   Min TM value:-237 at an offset of 109.800 usec -> 2021-09-09T10:55:58.259.097.525 (XO: 17.259098906)
   Max TM value:247 at an offset of 124.600 usec -> 2021-09-09T10:55:58.259.112.325 (XO: 17.259113706)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 124.488 usec -> 2021-09-09T10:55:58.259.112.212 (XO: 17.259113593)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 121.775 usec -> 2021-09-09T10:55:58.259.109.500 (XO: 17.259110881)

 - Block number: 3 starting at 2021-09-09T10:56:18.698.558.725 (XO: 37.698561700 - 37.698867701, t=37.2 degC)  Rank: 00083
   TM values: Max =   229  Min =  -272  Ave =    -4.38  Std =    22.05
   Min TM value:-272 at an offset of 112.675 usec -> 2021-09-09T10:56:18.698.671.400 (XO: 37.698674375)
   Max TM value:229 at an offset of 115.325 usec -> 2021-09-09T10:56:18.698.674.050 (XO: 37.698677026)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 115.138 usec -> 2021-09-09T10:56:18.698.673.862 (XO: 37.698676838)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 112.563 usec -> 2021-09-09T10:56:18.698.671.287 (XO: 37.698674263)

 - Block number: 4 starting at 2021-09-09T10:56:26.968.313.725 (XO: 45.968317420 - 45.968623421, t=37.2 degC)  Rank: 00080
   TM values: Max =   231  Min =  -267  Ave =    -4.45  Std =    22.87
   Min TM value:-267 at an offset of 110.363 usec -> 2021-09-09T10:56:26.968.424.087 (XO: 45.968427783)
   Max TM value:231 at an offset of 126.175 usec -> 2021-09-09T10:56:26.968.439.900 (XO: 45.968443596)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 121.300 usec -> 2021-09-09T10:56:26.968.435.025 (XO: 45.968438721)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 123.375 usec -> 2021-09-09T10:56:26.968.437.100 (XO: 45.968440796)
