-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 05:27:06 2023 UTC
-- File 20220628_180637_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 14.177031
-each separately from 0s to 14s and from 0us to 841257us.
   Differences in neigboring packets: 
      0.833940 in 2 packets: 1, 7
      0.833943 in 7 packets: 2, 4, 9, 10, 12, 14, 17
      0.833944 in 6 packets: 3, 5, 6, 11, 15, 16
      0.833945 in 1 packets: 8
      0.833941 in 1 packets: 13
MIU packet time from 2022-06-28T18:06:40.000.000.000 to 2022-06-28T18:06:54.177.031.000
   Differences in neigboring packets: 
      0.833940 in 2 packets: 1, 7
      0.833943 in 7 packets: 2, 4, 9, 10, 12, 14, 17
      0.833944 in 6 packets: 3, 5, 6, 11, 15, 16
      0.833945 in 1 packets: 8
      0.833941 in 1 packets: 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 2.1059290 to 16.1058769
   Differences in neigboring packets: 
      0.0000000 in 3 packets: 1, 7, 13
      0.9999963 in 9 packets: 2, 3, 8, 9, 11, 12, 14, 15, 17
      0.9999962 in 4 packets: 4, 6, 10, 16
      0.9999964 in 1 packets: 5
   XO PPM: 
      -3.7 in 9 packets: 2, 3, 8, 9, 11, 12, 14, 15, 17
      -3.8 in 4 packets: 4, 6, 10, 16
      -3.6 in 1 packets: 5
Temperature FPGA: 
      04 -> 49.8 degC in 9 packets: 1, 2, 5, 9, 12, 13, 14, 17, 18
      05 -> 48.5 degC in 9 packets: 3, 4, 6, 7, 8, 10, 11, 15, 16
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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 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_180637_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 2.1059291 to 16.2829091
      Difference between neigboring packets: 
      0.8339400 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-28T18:06:40.000.000.000 to 2022-06-28T18:06:54.177.031.000
      Difference between neigboring packets: 
      0.833940 in 2 packets: 1, 7
      0.833943 in 7 packets: 2, 4, 9, 10, 12, 14, 17
      0.833944 in 6 packets: 3, 5, 6, 11, 15, 16
      0.833945 in 1 packets: 8
      0.833941 in 1 packets: 13
   --- Rel. time correction for 18 points based on 14 XO calibration points at 1Hz counter from 0 to 13
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 2.105929100 corrected by 40bit 10MHz counter of 2.105929000 obtained at 1Hz counter of 0. Result: 0.000000100
--
   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:06:39.999.999.925
   Max 1st sample MIU time among all SR packets: 2022-06-28T18:06:54.177.030.925
   Min 1st sample XO time among all SR packets: 0.000000025
   Max 1st sample XO time among all SR packets: 14.177032780
   TM values from -78 to 75 median:-4.00000
--
Characteristics of separate SR data packets:

 - Packet number: 1 starting at 2022-06-28T18:06:39.999.999.925 (XO: 0.000000025 - 0.000017025, t=37.2 degC)
   TM values: Max =    66  Min =   -68  Ave =    -4.49  Std =    24.30

 - Packet number: 2 starting at 2022-06-28T18:06:40.833.939.925 (XO: 0.833943111 - 0.833960111, t=37.2 degC)
   TM values: Max =    75  Min =   -77  Ave =    -4.31  Std =    26.30

 - Packet number: 3 starting at 2022-06-28T18:06:41.667.882.925 (XO: 1.667886196 - 1.667903196, t=37.2 degC)
   TM values: Max =    64  Min =   -78  Ave =    -4.16  Std =    27.95

 - Packet number: 4 starting at 2022-06-28T18:06:42.501.826.925 (XO: 2.501829332 - 2.501846332, t=37.2 degC)
   TM values: Max =    53  Min =   -53  Ave =    -4.39  Std =    18.24

 - Packet number: 5 starting at 2022-06-28T18:06:43.335.769.925 (XO: 3.335772434 - 3.335789434, t=37.2 degC)
   TM values: Max =    61  Min =   -63  Ave =    -4.35  Std =    20.77

 - Packet number: 6 starting at 2022-06-28T18:06:44.169.713.925 (XO: 4.169715470 - 4.169732470, t=37.2 degC)
   TM values: Max =    46  Min =   -59  Ave =    -4.36  Std =    20.22

 - Packet number: 7 starting at 2022-06-28T18:06:45.003.657.925 (XO: 5.003658639 - 5.003675639, t=37.2 degC)
   TM values: Max =    51  Min =   -63  Ave =    -4.35  Std =    23.66

 - Packet number: 8 starting at 2022-06-28T18:06:45.837.597.925 (XO: 5.837601724 - 5.837618724, t=37.2 degC)
   TM values: Max =    51  Min =   -63  Ave =    -4.47  Std =    23.93

 - Packet number: 9 starting at 2022-06-28T18:06:46.671.542.925 (XO: 6.671544810 - 6.671561810, t=37.2 degC)
   TM values: Max =    52  Min =   -72  Ave =    -4.31  Std =    18.07

 - Packet number: 10 starting at 2022-06-28T18:06:47.505.485.925 (XO: 7.505487946 - 7.505504946, t=37.2 degC)
   TM values: Max =    41  Min =   -56  Ave =    -4.73  Std =    17.74

 - Packet number: 11 starting at 2022-06-28T18:06:48.339.428.925 (XO: 8.339431081 - 8.339448081, t=37.2 degC)
   TM values: Max =    52  Min =   -61  Ave =    -4.13  Std =    22.48

 - Packet number: 12 starting at 2022-06-28T18:06:49.173.372.925 (XO: 9.173374166 - 9.173391167, t=37.2 degC)
   TM values: Max =    56  Min =   -67  Ave =    -4.48  Std =    22.08

 - Packet number: 13 starting at 2022-06-28T18:06:50.007.315.925 (XO: 10.007317252 - 10.007334252, t=37.2 degC)
   TM values: Max =    40  Min =   -56  Ave =    -4.49  Std =    16.67

 - Packet number: 14 starting at 2022-06-28T18:06:50.841.256.925 (XO: 10.841260338 - 10.841277338, t=37.2 degC)
   TM values: Max =    74  Min =   -71  Ave =    -4.30  Std =    21.76

 - Packet number: 15 starting at 2022-06-28T18:06:51.675.199.925 (XO: 11.675203423 - 11.675220423, t=37.2 degC)
   TM values: Max =    50  Min =   -66  Ave =    -4.65  Std =    21.75

 - Packet number: 16 starting at 2022-06-28T18:06:52.509.143.925 (XO: 12.509146560 - 12.509163560, t=37.2 degC)
   TM values: Max =    61  Min =   -76  Ave =    -4.31  Std =    25.73

 - Packet number: 17 starting at 2022-06-28T18:06:53.343.087.925 (XO: 13.343089694 - 13.343106694, t=37.2 degC)
   TM values: Max =    64  Min =   -77  Ave =    -4.40  Std =    24.60

 - Packet number: 18 starting at 2022-06-28T18:06:54.177.030.925 (XO: 14.177032780 - 14.177049780, t=37.2 degC)
   TM values: Max =    48  Min =   -54  Ave =    -4.64  Std =    17.74
