-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 18:28:50 2022 UTC
-- File 20210912_130327_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 12.041887 to 48.931257
-each separately from 12s to 48s and from 41887us to 931257us.
   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, ...
      10.798257 in 1 packets: 18
      16.419943 in 1 packets: 36
      9.670014 in 1 packets: 54
MIU packet time from 2021-09-12T13:03:42.041.887.000 to 2021-09-12T13:04:18.931.257.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, ...
      10.798257 in 1 packets: 18
      16.419943 in 1 packets: 36
      9.670014 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 13.8606511 to 49.8605313
   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, ...
      9.9999667 in 1 packets: 18
      16.9999435 in 1 packets: 36
      8.9999700 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 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      06 -> 47.2 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 20210912_130327_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:
      119 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9025396 to 13.9028286
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.7982230  -- OK for SL --
   MIU time from 2021-09-12T13:03:42.041.887.000 to 2021-09-12T13:03:42.042.176.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.798257

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.7010516 to 24.7013406
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4198870  -- OK for SL --
   MIU time from 2021-09-12T13:03:52.840.433.000 to 2021-09-12T13:03:52.840.722.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.419943

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.1212276 to 41.1215166
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6699830  -- OK for SL --
   MIU time from 2021-09-12T13:04:09.260.665.000 to 2021-09-12T13:04:09.260.954.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.670014

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.7914996 to 50.7917886
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-12T13:04:18.930.968.000 to 2021-09-12T13:04:18.931.257.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 = 12, 32bit 10MHz counter = 13.902539600 corrected by 40bit 10MHz counter of 13.860651100 obtained at 1Hz counter of 12. Result: 12.041888642
--
   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-12T13:03:42.041.746.725
   Max 1st sample MIU time among all SL packets: 2021-09-12T13:04:18.931.116.725
   Min 1st sample XO time among all SL packets: 12.041748367
   Max 1st sample XO time among all SL packets: 48.931120098
   TM values from -241 to 347 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-12T13:03:42.041.746.725 (XO: 12.041748367 - 12.042054368, t=37.2 degC)  Rank: 00119
   TM values: Max =   347  Min =  -182  Ave =    -4.54  Std =    32.22
   Min TM value:-182 at an offset of 101.725 usec -> 2021-09-12T13:03:42.041.848.450 (XO: 12.041850092)
   Max TM value:347 at an offset of 91.888 usec -> 2021-09-12T13:03:42.041.838.612 (XO: 12.041840255)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 87.163 usec -> 2021-09-12T13:03:42.041.833.887 (XO: 12.041835530)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 244.763 usec -> 2021-09-12T13:03:42.041.991.488 (XO: 12.041993130)

 - Block number: 2 starting at 2021-09-12T13:03:52.840.292.725 (XO: 22.840296298 - 22.840602299, t=37.2 degC)  Rank: 00081
   TM values: Max =   196  Min =  -221  Ave =    -4.52  Std =    18.33
   Min TM value:-221 at an offset of 119.700 usec -> 2021-09-12T13:03:52.840.412.425 (XO: 22.840415998)
   Max TM value:196 at an offset of 122.350 usec -> 2021-09-12T13:03:52.840.415.075 (XO: 22.840418648)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 122.188 usec -> 2021-09-12T13:03:52.840.414.912 (XO: 22.840418486)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 107.488 usec -> 2021-09-12T13:03:52.840.400.212 (XO: 22.840403786)

 - Block number: 3 starting at 2021-09-12T13:04:09.260.524.725 (XO: 39.260526911 - 39.260832912, t=37.2 degC)  Rank: 00072
   TM values: Max =   174  Min =  -241  Ave =    -4.47  Std =    18.12
   Min TM value:-241 at an offset of 120.738 usec -> 2021-09-12T13:04:09.260.645.462 (XO: 39.260647649)
   Max TM value:174 at an offset of 120.400 usec -> 2021-09-12T13:04:09.260.645.125 (XO: 39.260647311)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 123.163 usec -> 2021-09-12T13:04:09.260.647.887 (XO: 39.260650074)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 120.525 usec -> 2021-09-12T13:04:09.260.645.250 (XO: 39.260647436)

 - Block number: 4 starting at 2021-09-12T13:04:18.930.827.725 (XO: 48.930831097 - 48.931137098, t=37.2 degC)  Rank: 00075
   TM values: Max =   179  Min =  -239  Ave =    -4.49  Std =    22.72
   Min TM value:-239 at an offset of 119.763 usec -> 2021-09-12T13:04:18.930.947.487 (XO: 48.930950860)
   Max TM value:179 at an offset of 119.450 usec -> 2021-09-12T13:04:18.930.947.175 (XO: 48.930950547)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 122.188 usec -> 2021-09-12T13:04:18.930.949.912 (XO: 48.930953285)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 119.575 usec -> 2021-09-12T13:04:18.930.947.300 (XO: 48.930950672)
