-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  8 14:56:49 2024 UTC
-- File 20230721_043544_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 2.043260 to 50.844255
-each separately from 2s to 50s and from 43260us to 844255us.
   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, ...
      21.400102 in 1 packets: 18
      8.919773 in 1 packets: 36
      18.479964 in 1 packets: 54
MIU packet time from 2023-07-21T04:35:49.043.260.000 to 2023-07-21T04:36:37.844.255.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, ...
      21.400102 in 1 packets: 18
      8.919773 in 1 packets: 36
      18.479964 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 4.1049608 to 52.1047987
   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, ...
      20.9999290 in 1 packets: 18
      8.9999696 in 1 packets: 36
      17.9999393 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      FF -> 56.3 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      FE -> 57.6 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C5 -> 43.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 20230721_043544_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1482224 to 4.1485114
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4000310  -- OK for SL --
   MIU time from 2023-07-21T04:35:49.043.260.000 to 2023-07-21T04:35:49.043.549.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.400102

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.5485424 to 25.5488314
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.9197430  -- OK for SL --
   MIU time from 2023-07-21T04:36:10.443.651.000 to 2023-07-21T04:36:10.443.940.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.919773

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.4685744 to 34.4688634
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4799030  -- OK for SL --
   MIU time from 2023-07-21T04:36:19.363.713.000 to 2023-07-21T04:36:19.364.002.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.479964

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.9487664 to 52.9490554
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-21T04:36:37.843.966.000 to 2023-07-21T04:36:37.844.255.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 = 2, 32bit 10MHz counter = 4.148222400 corrected by 40bit 10MHz counter of 4.104960800 obtained at 1Hz counter of 2. Result: 2.043261747
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2023-07-21T04:35:49.043.119.725
   Max 1st sample MIU time among all SL packets: 2023-07-21T04:36:37.844.114.725
   Min 1st sample XO time among all SL packets: 2.043121472
   Max 1st sample XO time among all SL packets: 50.844119295
   TM values from -325 to 252 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-21T04:35:49.043.119.725 (XO: 2.043121472 - 2.043427473, t=43.6 degC)  Rank: 00083
   TM values: Max =   210  Min =  -238  Ave =    -4.47  Std =    25.08
   Min TM value:-238 at an offset of 149.213 usec -> 2023-07-21T04:35:49.043.268.938 (XO: 2.043270685)
   Max TM value:210 at an offset of 122.063 usec -> 2023-07-21T04:35:49.043.241.787 (XO: 2.043243535)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 149.376 usec -> 2023-07-21T04:35:49.043.269.100 (XO: 2.043270847)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 134.250 usec -> 2023-07-21T04:35:49.043.253.975 (XO: 2.043255722)

 - Block number: 2 starting at 2023-07-21T04:36:10.443.510.725 (XO: 23.443513833 - 23.443819834, t=43.6 degC)  Rank: 00085
   TM values: Max =   249  Min =  -325  Ave =    -4.39  Std =    31.31
   Min TM value:-325 at an offset of 82.675 usec -> 2023-07-21T04:36:10.443.593.400 (XO: 23.443596508)
   Max TM value:249 at an offset of 82.925 usec -> 2023-07-21T04:36:10.443.593.650 (XO: 23.443596758)
   Max dTM/dt [1/us]:3.10e+03 at an offset of 82.788 usec -> 2023-07-21T04:36:10.443.593.512 (XO: 23.443596621)
   Min dTM/dt [1/us]:-3.11e+03 at an offset of 80.388 usec -> 2023-07-21T04:36:10.443.591.112 (XO: 23.443594221)

 - Block number: 3 starting at 2023-07-21T04:36:19.363.572.725 (XO: 32.363575961 - 32.363881962, t=43.6 degC)  Rank: 00076
   TM values: Max =   226  Min =  -324  Ave =    -4.39  Std =    28.25
   Min TM value:-324 at an offset of 123.338 usec -> 2023-07-21T04:36:19.363.696.062 (XO: 32.363699299)
   Max TM value:226 at an offset of 120.925 usec -> 2023-07-21T04:36:19.363.693.650 (XO: 32.363696887)
   Max dTM/dt [1/us]:2.64e+03 at an offset of 123.450 usec -> 2023-07-21T04:36:19.363.696.175 (XO: 32.363699412)
   Min dTM/dt [1/us]:-2.88e+03 at an offset of 121.025 usec -> 2023-07-21T04:36:19.363.693.750 (XO: 32.363696987)

 - Block number: 4 starting at 2023-07-21T04:36:37.843.825.725 (XO: 50.843830294 - 50.844136295, t=43.6 degC)  Rank: 00078
   TM values: Max =   252  Min =  -298  Ave =    -4.32  Std =    27.14
   Min TM value:-298 at an offset of 289.526 usec -> 2023-07-21T04:36:37.844.115.250 (XO: 50.844119820)
   Max TM value:252 at an offset of 289.776 usec -> 2023-07-21T04:36:37.844.115.500 (XO: 50.844120070)
   Max dTM/dt [1/us]:2.60e+03 at an offset of 289.638 usec -> 2023-07-21T04:36:37.844.115.363 (XO: 50.844119933)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 287.226 usec -> 2023-07-21T04:36:37.844.112.950 (XO: 50.844117520)
