-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 20:45:47 2023 UTC
-- File 20220115_111221_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.817190 to 57.117939
-each separately from 8s to 57s and from 117650us to 897912us.
   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, ...
      14.429764 in 1 packets: 18
      17.650091 in 1 packets: 36
      16.219738 in 1 packets: 54
MIU packet time from 2022-01-15T11:12:32.817.190.000 to 2022-01-15T11:13:21.117.939.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, ...
      14.429764 in 1 packets: 18
      17.650091 in 1 packets: 36
      16.219738 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 9.7659198 to 58.7657473
   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, ...
      14.9999472 in 1 packets: 18
      16.9999401 in 1 packets: 36
      16.9999402 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20220115_111221_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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.5831106 to 10.5833996
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4297110  -- OK for SL --
   MIU time from 2022-01-15T11:12:32.817.190.000 to 2022-01-15T11:12:32.817.479.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.429764

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.0131106 to 25.0133996
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6500310  -- OK for SL --
   MIU time from 2022-01-15T11:12:47.247.243.000 to 2022-01-15T11:12:47.247.532.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.650091

 - 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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.6634306 to 42.6637196
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2196790  -- OK for SL --
   MIU time from 2022-01-15T11:13:04.897.623.000 to 2022-01-15T11:13:04.897.912.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.219738

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.8833986 to 58.8836876
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-15T11:13:21.117.650.000 to 2022-01-15T11:13:21.117.939.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.583110600 corrected by 40bit 10MHz counter of 9.765919800 obtained at 1Hz counter of 8. Result: 8.817193660
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-15T11:12:32.817.049.725
   Max 1st sample MIU time among all SL packets: 2022-01-15T11:13:21.117.798.725
   Min 1st sample XO time among all SL packets: 8.817053385
   Max 1st sample XO time among all SL packets: 57.117800437
   TM values from -209 to 195 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-15T11:12:32.817.049.725 (XO: 8.817053385 - 8.817359386, t=37.2 degC)  Rank: 00068
   TM values: Max =   149  Min =  -200  Ave =    -4.63  Std =    23.67
   Min TM value:-200 at an offset of 111.913 usec -> 2022-01-15T11:12:32.817.161.637 (XO: 8.817165298)
   Max TM value:149 at an offset of 182.463 usec -> 2022-01-15T11:12:32.817.232.188 (XO: 8.817235848)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 112.013 usec -> 2022-01-15T11:12:32.817.161.737 (XO: 8.817165398)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 111.813 usec -> 2022-01-15T11:12:32.817.161.537 (XO: 8.817165198)

 - Block number: 2 starting at 2022-01-15T11:12:47.247.102.725 (XO: 23.247104215 - 23.247410216, t=37.2 degC)  Rank: 00068
   TM values: Max =   175  Min =  -202  Ave =    -4.65  Std =    23.61
   Min TM value:-202 at an offset of 125.100 usec -> 2022-01-15T11:12:47.247.227.825 (XO: 23.247229315)
   Max TM value:175 at an offset of 171.026 usec -> 2022-01-15T11:12:47.247.273.750 (XO: 23.247275240)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 120.738 usec -> 2022-01-15T11:12:47.247.223.462 (XO: 23.247224953)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 125.013 usec -> 2022-01-15T11:12:47.247.227.737 (XO: 23.247229228)

 - Block number: 3 starting at 2022-01-15T11:13:04.897.482.725 (XO: 40.897486366 - 40.897792367, t=37.2 degC)  Rank: 00065
   TM values: Max =   157  Min =  -188  Ave =    -4.60  Std =    20.18
   Min TM value:-188 at an offset of 99.663 usec -> 2022-01-15T11:13:04.897.582.387 (XO: 40.897586029)
   Max TM value:157 at an offset of 99.888 usec -> 2022-01-15T11:13:04.897.582.612 (XO: 40.897586254)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 99.788 usec -> 2022-01-15T11:13:04.897.582.512 (XO: 40.897586154)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 97.313 usec -> 2022-01-15T11:13:04.897.580.037 (XO: 40.897583679)

 - Block number: 4 starting at 2022-01-15T11:13:21.117.509.725 (XO: 57.117511436 - 57.117817437, t=37.2 degC)  Rank: 00073
   TM values: Max =   195  Min =  -209  Ave =    -4.68  Std =    14.92
   Min TM value:-209 at an offset of 125.825 usec -> 2022-01-15T11:13:21.117.635.550 (XO: 57.117637262)
   Max TM value:195 at an offset of 123.400 usec -> 2022-01-15T11:13:21.117.633.125 (XO: 57.117634837)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 125.950 usec -> 2022-01-15T11:13:21.117.635.675 (XO: 57.117637387)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 123.513 usec -> 2022-01-15T11:13:21.117.633.237 (XO: 57.117634949)
