-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 05:18:55 2023 UTC
-- File 20220628_180110_1226.dat, 18  packets found.
APID:
      1226 (SR) in 18 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 18 packets (all packets)
Total number of packets: 
      18 in 18 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.000000 to 15.177031
-each separately from 0s to 15s and from 0us to 841257us.
   Differences in neigboring packets: 
      1.833940 in 1 packets: 1
      0.833943 in 7 packets: 2, 4, 6, 9, 12, 14, 17
      0.833944 in 7 packets: 3, 5, 8, 10, 11, 15, 16
      0.833941 in 2 packets: 7, 13
MIU packet time from 2022-06-28T18:01:13.000.000.000 to 2022-06-28T18:01:28.177.031.000
   Differences in neigboring packets: 
      1.833940 in 1 packets: 1
      0.833943 in 7 packets: 2, 4, 6, 9, 12, 14, 17
      0.833944 in 7 packets: 3, 5, 8, 10, 11, 15, 16
      0.833941 in 2 packets: 7, 13
MIU orbit number: 
      60000 in 18 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 18 packets (all packets)
MIU orbit information / number of events: 
      0 in 18 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 18 packets (all packets)
Instrument anomalies: 
      0 (OK) in 18 packets (all packets)
FPGA configuration version: 
      211 in 18 packets (all packets)
10 MHz counter at the last 1Hz pulse from 0.6139800 to 15.6139241
   Differences in neigboring packets: 
      0.9999963 in 9 packets: 1, 3, 4, 5, 6, 9, 10, 15, 16
      0.9999962 in 5 packets: 2, 8, 11, 14, 17
      0.0000000 in 2 packets: 7, 13
      0.9999964 in 1 packets: 12
   XO PPM: 
      -3.7 in 9 packets: 1, 3, 4, 5, 6, 9, 10, 15, 16
      -3.8 in 5 packets: 2, 8, 11, 14, 17
      -3.6 in 1 packets: 12
Temperature FPGA: 
      04 -> 49.8 degC in 14 packets: 1, 2, 3, 6, 7, 8, 10, 11, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 4 packets: 4, 5, 9, 12
Temperature XO: 
      C1 -> 37.2 degC in 18 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 18 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 18 packets (all packets)
Number of external events: 
      0 in 3 packets: 1, 2, 3
      2 in 15 packets: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Number of generated alerts: 
      0 in 3 packets: 1, 2, 3
      3 in 15 packets: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Survey memory error: 
      0 in 18 packets (all packets)
Event memory error: 
      0 in 18 packets (all packets)
Configuration error: 
      0 in 18 packets (all packets)
SDRAM CRC error: 
      0 in 18 packets (all packets)
Radio gain: 
      0 in 18 packets (all packets)
Radio bandwidth: 
      0 in 18 packets (all packets)
Digital gain: 
      0 in 18 packets (all packets)
Analog gain: 
      0 in 18 packets (all packets)
 
SURVEY DATA READER
-- File 20220628_180110_1226.dat, 1 SR 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:
      0 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.6139763 to 15.7909563
      Difference between neigboring packets: 
      0.8339400 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-28T18:01:13.000.000.000 to 2022-06-28T18:01:28.177.031.000
      Difference between neigboring packets: 
      1.833940 in 1 packets: 1
      0.833943 in 7 packets: 2, 4, 6, 9, 12, 14, 17
      0.833944 in 7 packets: 3, 5, 8, 10, 11, 15, 16
      0.833941 in 2 packets: 7, 13
   --- Rel. time correction for 18 points based on 15 XO calibration points at 1Hz counter from 0 to 14
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 1.613976300 corrected by 40bit 10MHz counter of 0.613980000 obtained at 1Hz counter of 0. Result: 1.000000000
--
   MIU or XO time of the 1st SR sample = header (MIU or corrected XO) time - 75 ns delay
   Samplig frequency correction factor in all SR packets: 0.999996200 - 0.999996400
   Min 1st sample MIU time among all SR packets: 2022-06-28T18:01:12.999.999.925
   Max 1st sample MIU time among all SR packets: 2022-06-28T18:01:28.177.030.925
   Min 1st sample XO time among all SR packets: 0.999999925
   Max 1st sample XO time among all SR packets: 15.177032798
   TM values from -95 to 74 median:-4.00000
--
Characteristics of separate SR data packets:

 - Packet number: 1 starting at 2022-06-28T18:01:12.999.999.925 (XO: 0.999999925 - 1.000016925, t=37.2 degC)
   TM values: Max =    37  Min =   -44  Ave =    -4.54  Std =    13.09

 - Packet number: 2 starting at 2022-06-28T18:01:14.833.939.925 (XO: 1.833943094 - 1.833960094, t=37.2 degC)
   TM values: Max =    35  Min =   -45  Ave =    -4.31  Std =    12.88

 - Packet number: 3 starting at 2022-06-28T18:01:15.667.882.925 (XO: 2.667886196 - 2.667903196, t=37.2 degC)
   TM values: Max =    45  Min =   -49  Ave =    -4.46  Std =    13.90

 - Packet number: 4 starting at 2022-06-28T18:01:16.501.826.925 (XO: 3.501829282 - 3.501846282, t=37.2 degC)
   TM values: Max =    37  Min =   -43  Ave =    -4.50  Std =    13.91

 - Packet number: 5 starting at 2022-06-28T18:01:17.335.769.925 (XO: 4.335772367 - 4.335789367, t=37.2 degC)
   TM values: Max =    46  Min =   -51  Ave =    -4.68  Std =    14.56

 - Packet number: 6 starting at 2022-06-28T18:01:18.169.713.925 (XO: 5.169715453 - 5.169732453, t=37.2 degC)
   TM values: Max =    38  Min =   -43  Ave =    -4.33  Std =    14.80

 - Packet number: 7 starting at 2022-06-28T18:01:19.003.656.925 (XO: 6.003658539 - 6.003675539, t=37.2 degC)
   TM values: Max =    43  Min =   -56  Ave =    -4.50  Std =    15.13

 - Packet number: 8 starting at 2022-06-28T18:01:19.837.597.925 (XO: 6.837601708 - 6.837618708, t=37.2 degC)
   TM values: Max =    49  Min =   -50  Ave =    -4.48  Std =    16.18

 - Packet number: 9 starting at 2022-06-28T18:01:20.671.541.925 (XO: 7.671544810 - 7.671561810, t=37.2 degC)
   TM values: Max =    74  Min =   -95  Ave =    -3.93  Std =    25.80

 - Packet number: 10 starting at 2022-06-28T18:01:21.505.484.925 (XO: 8.505487895 - 8.505504895, t=37.2 degC)
   TM values: Max =    47  Min =   -55  Ave =    -4.44  Std =    19.79

 - Packet number: 11 starting at 2022-06-28T18:01:22.339.428.925 (XO: 9.339431015 - 9.339448015, t=37.2 degC)
   TM values: Max =    54  Min =   -70  Ave =    -4.54  Std =    18.57

 - Packet number: 12 starting at 2022-06-28T18:01:23.173.372.925 (XO: 10.173374149 - 10.173391149, t=37.2 degC)
   TM values: Max =    52  Min =   -66  Ave =    -4.41  Std =    18.02

 - Packet number: 13 starting at 2022-06-28T18:01:24.007.315.925 (XO: 11.007317153 - 11.007334153, t=37.2 degC)
   TM values: Max =    43  Min =   -49  Ave =    -4.43  Std =    16.20

 - Packet number: 14 starting at 2022-06-28T18:01:24.841.256.925 (XO: 11.841260322 - 11.841277322, t=37.2 degC)
   TM values: Max =    44  Min =   -50  Ave =    -4.55  Std =    15.62

 - Packet number: 15 starting at 2022-06-28T18:01:25.675.199.925 (XO: 12.675203423 - 12.675220423, t=37.2 degC)
   TM values: Max =    40  Min =   -51  Ave =    -4.61  Std =    15.69

 - Packet number: 16 starting at 2022-06-28T18:01:26.509.143.925 (XO: 13.509146509 - 13.509163509, t=37.2 degC)
   TM values: Max =    45  Min =   -55  Ave =    -4.66  Std =    19.30

 - Packet number: 17 starting at 2022-06-28T18:01:27.343.087.925 (XO: 14.343089629 - 14.343106629, t=37.2 degC)
   TM values: Max =    37  Min =   -45  Ave =    -4.47  Std =    14.39

 - Packet number: 18 starting at 2022-06-28T18:01:28.177.030.925 (XO: 15.177032798 - 15.177049798, t=37.2 degC)
   TM values: Max =    40  Min =   -51  Ave =    -4.42  Std =    15.38
