-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 18:49:36 2023 UTC
-- File 20220525_103734_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 13.450464 to 32.512149
-each separately from 13s to 32s and from 410885us to 512149us.
   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, ...
      5.960132 in 1 packets: 18
      13.100686 in 1 packets: 36
MIU packet time from 2022-05-25T10:37:50.450.464.000 to 2022-05-25T10:38:09.512.149.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, ...
      5.960132 in 1 packets: 18
      13.100686 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 15.2479533 to 34.2478845
   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, ...
      5.9999782 in 1 packets: 18
      12.9999530 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C3 -> 40.4 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 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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220525_103734_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.6984171 to 15.6987061
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.9601110  -- OK for SL --
   MIU time from 2022-05-25T10:37:50.450.464.000 to 2022-05-25T10:37:50.450.753.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.960132

 - 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 21.6588171 to 21.6591061
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1006390  -- OK for SL --
   MIU time from 2022-05-25T10:37:56.410.885.000 to 2022-05-25T10:37:56.411.174.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.100686

 - 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 34.7597451 to 34.7600341
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-25T10:38:09.511.860.000 to 2022-05-25T10:38:09.512.149.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 = 13, 32bit 10MHz counter = 15.698417100 corrected by 40bit 10MHz counter of 15.247953300 obtained at 1Hz counter of 13. Result: 13.450465422
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-05-25T10:37:50.450.323.725
   Max 1st sample MIU time among all SL packets: 2022-05-25T10:38:09.512.008.725
   Min 1st sample XO time among all SL packets: 13.450325146
   Max 1st sample XO time among all SL packets: 32.512011168
   TM values from -266 to 251 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-25T10:37:50.450.323.725 (XO: 13.450325146 - 13.450631147, t=40.4 degC)  Rank: 00081
   TM values: Max =   250  Min =  -265  Ave =    -4.36  Std =    27.03
   Min TM value:-265 at an offset of 118.263 usec -> 2022-05-25T10:37:50.450.441.987 (XO: 13.450443409)
   Max TM value:250 at an offset of 117.988 usec -> 2022-05-25T10:37:50.450.441.712 (XO: 13.450443134)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 120.513 usec -> 2022-05-25T10:37:50.450.444.237 (XO: 13.450445659)
   Min dTM/dt [1/us]:-2.65e+03 at an offset of 118.088 usec -> 2022-05-25T10:37:50.450.441.812 (XO: 13.450443234)

 - Block number: 2 starting at 2022-05-25T10:37:56.410.744.725 (XO: 19.410746804 - 19.411052805, t=40.4 degC)  Rank: 00078
   TM values: Max =   231  Min =  -266  Ave =    -4.41  Std =    25.33
   Min TM value:-266 at an offset of 117.838 usec -> 2022-05-25T10:37:56.410.862.562 (XO: 19.410864642)
   Max TM value:231 at an offset of 115.413 usec -> 2022-05-25T10:37:56.410.860.137 (XO: 19.410862217)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 117.938 usec -> 2022-05-25T10:37:56.410.862.662 (XO: 19.410864742)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 115.513 usec -> 2022-05-25T10:37:56.410.860.237 (XO: 19.410862317)

 - Block number: 3 starting at 2022-05-25T10:38:09.511.719.725 (XO: 32.511722167 - 32.512028168, t=40.4 degC)  Rank: 00083
   TM values: Max =   251  Min =  -265  Ave =    -4.28  Std =    20.19
   Min TM value:-265 at an offset of 129.863 usec -> 2022-05-25T10:38:09.511.849.587 (XO: 32.511852030)
   Max TM value:251 at an offset of 129.600 usec -> 2022-05-25T10:38:09.511.849.325 (XO: 32.511851768)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 132.163 usec -> 2022-05-25T10:38:09.511.851.887 (XO: 32.511854330)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 129.700 usec -> 2022-05-25T10:38:09.511.849.425 (XO: 32.511851868)
