-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 12:03:40 2023 UTC
-- File 20220630_124812_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 12.959706 to 34.897948
-each separately from 12s to 34s and from 879497us to 959995us.
   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, ...
      3.919502 in 1 packets: 18
      18.017873 in 1 packets: 36
MIU packet time from 2022-06-30T12:48:27.959.706.000 to 2022-06-30T12:48:49.897.948.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, ...
      3.919502 in 1 packets: 18
      18.017873 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 14.1487719 to 36.1486911
   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, ...
      3.9999852 in 1 packets: 18
      17.9999340 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: 
      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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      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 20220630_124812_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.1084786 to 15.1087676
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.9194870  -- OK for SL --
   MIU time from 2022-06-30T12:48:27.959.706.000 to 2022-06-30T12:48:27.959.995.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.919502

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.0282546 to 19.0285436
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.0178070  -- OK for SL --
   MIU time from 2022-06-30T12:48:31.879.497.000 to 2022-06-30T12:48:31.879.786.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.017873

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.0463506 to 37.0466396
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-30T12:48:49.897.659.000 to 2022-06-30T12:48:49.897.948.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 = 12, 32bit 10MHz counter = 15.108478600 corrected by 40bit 10MHz counter of 14.148771900 obtained at 1Hz counter of 12. Result: 12.959710251
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-30T12:48:27.959.565.725
   Max 1st sample MIU time among all SL packets: 2022-06-30T12:48:49.897.807.725
   Min 1st sample XO time among all SL packets: 12.959569975
   Max 1st sample XO time among all SL packets: 34.897811457
   TM values from -252 to 208 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-30T12:48:27.959.565.725 (XO: 12.959569975 - 12.959875977, t=37.2 degC)  Rank: 00079
   TM values: Max =   208  Min =  -248  Ave =    -4.56  Std =    28.12
   Min TM value:-248 at an offset of 113.813 usec -> 2022-06-30T12:48:27.959.679.537 (XO: 12.959683788)
   Max TM value:208 at an offset of 111.350 usec -> 2022-06-30T12:48:27.959.677.075 (XO: 12.959681326)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 113.925 usec -> 2022-06-30T12:48:27.959.679.650 (XO: 12.959683901)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 111.488 usec -> 2022-06-30T12:48:27.959.677.212 (XO: 12.959681463)

 - Block number: 2 starting at 2022-06-30T12:48:31.879.356.725 (XO: 16.879360391 - 16.879666392, t=37.2 degC)  Rank: 00079
   TM values: Max =   196  Min =  -252  Ave =    -4.54  Std =    20.66
   Min TM value:-252 at an offset of 111.688 usec -> 2022-06-30T12:48:31.879.468.412 (XO: 16.879472079)
   Max TM value:196 at an offset of 109.213 usec -> 2022-06-30T12:48:31.879.465.937 (XO: 16.879469604)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 111.800 usec -> 2022-06-30T12:48:31.879.468.525 (XO: 16.879472191)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 111.625 usec -> 2022-06-30T12:48:31.879.468.350 (XO: 16.879472016)

 - Block number: 3 starting at 2022-06-30T12:48:49.897.518.725 (XO: 34.897522456 - 34.897828457, t=37.2 degC)  Rank: 00086
   TM values: Max =   183  Min =  -242  Ave =    -4.64  Std =    18.69
   Min TM value:-242 at an offset of 123.463 usec -> 2022-06-30T12:48:49.897.642.187 (XO: 34.897645919)
   Max TM value:183 at an offset of 120.963 usec -> 2022-06-30T12:48:49.897.639.687 (XO: 34.897643419)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 123.563 usec -> 2022-06-30T12:48:49.897.642.287 (XO: 34.897646019)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 123.363 usec -> 2022-06-30T12:48:49.897.642.087 (XO: 34.897645819)
