-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 22:48:07 2023 UTC
-- File 20220628_054925_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 8.013860 to 53.494123
-each separately from 8s to 53s and from 13760us to 494123us.
   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, ...
      11.999611 in 1 packets: 18
      19.019685 in 1 packets: 36
      14.459811 in 1 packets: 54
MIU packet time from 2022-06-28T05:49:36.013.860.000 to 2022-06-28T05:50:21.494.123.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, ...
      11.999611 in 1 packets: 18
      19.019685 in 1 packets: 36
      14.459811 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 10.2571900 to 55.2570236
   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, ...
      11.9999557 in 1 packets: 18
      18.9999296 in 1 packets: 36
      13.9999483 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220628_054925_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 10.2710509 to 10.2713399
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9995670  -- OK for SL --
   MIU time from 2022-06-28T05:49:36.013.860.000 to 2022-06-28T05:49:36.014.149.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.999611

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.2709069 to 22.2711959
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0196150  -- OK for SL --
   MIU time from 2022-06-28T05:49:48.013.760.000 to 2022-06-28T05:49:48.014.049.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.019685

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.2908109 to 41.2910999
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4597590  -- OK for SL --
   MIU time from 2022-06-28T05:50:07.033.734.000 to 2022-06-28T05:50:07.034.023.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.459811

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.7508589 to 55.7511479
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-28T05:50:21.493.834.000 to 2022-06-28T05:50:21.494.123.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 = 8, 32bit 10MHz counter = 10.271050900 corrected by 40bit 10MHz counter of 10.257190000 obtained at 1Hz counter of 8. Result: 8.013860951
--
   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.999996300
   Min 1st sample MIU time among all SL packets: 2022-06-28T05:49:36.013.719.725
   Max 1st sample MIU time among all SL packets: 2022-06-28T05:50:21.493.982.725
   Min 1st sample XO time among all SL packets: 8.013720676
   Max 1st sample XO time among all SL packets: 53.493985853
   TM values from -250 to 196 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-28T05:49:36.013.719.725 (XO: 8.013720676 - 8.014026677, t=37.2 degC)  Rank: 00083
   TM values: Max =   164  Min =  -234  Ave =    -4.50  Std =    25.53
   Min TM value:-234 at an offset of 120.538 usec -> 2022-06-28T05:49:36.013.840.262 (XO: 8.013841214)
   Max TM value:164 at an offset of 118.525 usec -> 2022-06-28T05:49:36.013.838.250 (XO: 8.013839201)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 153.576 usec -> 2022-06-28T05:49:36.013.873.300 (XO: 8.013874251)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 120.363 usec -> 2022-06-28T05:49:36.013.840.087 (XO: 8.013841039)

 - Block number: 2 starting at 2022-06-28T05:49:48.013.619.725 (XO: 20.013620975 - 20.013926977, t=37.2 degC)  Rank: 00077
   TM values: Max =   175  Min =  -250  Ave =    -4.46  Std =    19.07
   Min TM value:-250 at an offset of 110.850 usec -> 2022-06-28T05:49:48.013.730.575 (XO: 20.013731826)
   Max TM value:175 at an offset of 108.325 usec -> 2022-06-28T05:49:48.013.728.050 (XO: 20.013729301)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 110.975 usec -> 2022-06-28T05:49:48.013.730.700 (XO: 20.013731951)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 108.425 usec -> 2022-06-28T05:49:48.013.728.150 (XO: 20.013729401)

 - Block number: 3 starting at 2022-06-28T05:50:07.033.593.725 (XO: 39.033595449 - 39.033901450, t=37.2 degC)  Rank: 00080
   TM values: Max =   196  Min =  -250  Ave =    -4.53  Std =    26.74
   Min TM value:-250 at an offset of 81.600 usec -> 2022-06-28T05:50:07.033.675.325 (XO: 39.033677050)
   Max TM value:196 at an offset of 79.100 usec -> 2022-06-28T05:50:07.033.672.825 (XO: 39.033674550)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 81.713 usec -> 2022-06-28T05:50:07.033.675.437 (XO: 39.033677162)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 79.213 usec -> 2022-06-28T05:50:07.033.672.937 (XO: 39.033674662)

 - Block number: 4 starting at 2022-06-28T05:50:21.493.693.725 (XO: 53.493696852 - 53.494002853, t=37.2 degC)  Rank: 00082
   TM values: Max =   164  Min =  -240  Ave =    -4.53  Std =    20.88
   Min TM value:-240 at an offset of 86.213 usec -> 2022-06-28T05:50:21.493.779.937 (XO: 53.493783064)
   Max TM value:164 at an offset of 71.513 usec -> 2022-06-28T05:50:21.493.765.237 (XO: 53.493768364)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 86.338 usec -> 2022-06-28T05:50:21.493.780.062 (XO: 53.493783189)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 83.750 usec -> 2022-06-28T05:50:21.493.777.475 (XO: 53.493780602)
