-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 20:03:49 2023 UTC
-- File 20220113_010835_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.863467 to 42.923136
-each separately from 0s to 42s and from 343331us to 923136us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.479575 in 1 packets: 18
      26.579227 in 1 packets: 36
MIU packet time from 2022-01-13T01:08:38.863.467.000 to 2022-01-13T01:09:20.923.136.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.479575 in 1 packets: 18
      26.579227 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 1.5836354 to 43.5834876
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.9999438 in 1 packets: 18
      25.9999084 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 18 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
      03 -> 51.1 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 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220113_010835_1227.dat, 3 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.4471028 to 2.4473918
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4795190  -- OK for SL --
   MIU time from 2022-01-13T01:08:38.863.467.000 to 2022-01-13T01:08:38.863.756.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.479575

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.9269108 to 17.9271998
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.5791350  -- OK for SL --
   MIU time from 2022-01-13T01:08:54.343.331.000 to 2022-01-13T01:08:54.343.620.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.579227

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.5063348 to 44.5066238
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-13T01:09:20.922.847.000 to 2022-01-13T01:09:20.923.136.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 2.447102800 corrected by 40bit 10MHz counter of 1.583635400 obtained at 1Hz counter of 0. Result: 0.863470422
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-13T01:08:38.863.326.725
   Max 1st sample MIU time among all SL packets: 2022-01-13T01:09:20.922.995.725
   Min 1st sample XO time among all SL packets: 0.863330147
   Max 1st sample XO time among all SL packets: 42.922999155
   TM values from -239 to 212 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-13T01:08:38.863.326.725 (XO: 0.863330147 - 0.863636148, t=37.2 degC)  Rank: 00075
   TM values: Max =   151  Min =  -193  Ave =    -4.56  Std =    16.19
   Min TM value:-193 at an offset of 131.638 usec -> 2022-01-13T01:08:38.863.458.362 (XO: 0.863461785)
   Max TM value:151 at an offset of 134.363 usec -> 2022-01-13T01:08:38.863.461.087 (XO: 0.863464510)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 131.763 usec -> 2022-01-13T01:08:38.863.458.487 (XO: 0.863461910)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 129.300 usec -> 2022-01-13T01:08:38.863.456.025 (XO: 0.863459447)

 - Block number: 2 starting at 2022-01-13T01:08:54.343.190.725 (XO: 16.343192526 - 16.343498527, t=37.2 degC)  Rank: 00068
   TM values: Max =   169  Min =  -239  Ave =    -4.45  Std =    21.11
   Min TM value:-239 at an offset of 92.813 usec -> 2022-01-13T01:08:54.343.283.537 (XO: 16.343285339)
   Max TM value:169 at an offset of 92.550 usec -> 2022-01-13T01:08:54.343.283.275 (XO: 16.343285076)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 95.088 usec -> 2022-01-13T01:08:54.343.285.812 (XO: 16.343287614)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 80.950 usec -> 2022-01-13T01:08:54.343.271.675 (XO: 16.343273476)

 - Block number: 3 starting at 2022-01-13T01:09:20.922.706.725 (XO: 42.922710154 - 42.923016156, t=37.2 degC)  Rank: 00070
   TM values: Max =   212  Min =  -217  Ave =    -4.46  Std =    20.37
   Min TM value:-217 at an offset of 94.225 usec -> 2022-01-13T01:09:20.922.800.950 (XO: 42.922804380)
   Max TM value:212 at an offset of 91.800 usec -> 2022-01-13T01:09:20.922.798.525 (XO: 42.922801955)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 91.738 usec -> 2022-01-13T01:09:20.922.798.462 (XO: 42.922801892)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 91.913 usec -> 2022-01-13T01:09:20.922.798.637 (XO: 42.922802067)
