-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed May 31 00:23:10 2023 UTC
-- File 20230530_105945_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 4.226987 to 45.346715
-each separately from 4s to 45s and from 226987us to 973860us.
   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, ...
      16.746295 in 1 packets: 18
      21.412588 in 1 packets: 36
      2.959689 in 1 packets: 54
MIU packet time from 2023-05-30T10:59:52.226.987.000 to 2023-05-30T11:00:33.346.715.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, ...
      16.746295 in 1 packets: 18
      21.412588 in 1 packets: 36
      2.959689 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 5.9153679 to 46.9152250
   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, ...
      15.9999442 in 1 packets: 18
      21.9999233 in 1 packets: 36
      2.9999896 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 5 packets: 20, 21, 22, 23, 24
      2 in 6 packets: 25, 26, 27, 28, 29, 30
      3 in 7 packets: 31, 32, 33, 34, 35, 36, 37
      4 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20230530_105945_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.1423564 to 6.1426454
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.7462390  -- OK for SL --
   MIU time from 2023-05-30T10:59:52.226.987.000 to 2023-05-30T10:59:52.227.276.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.746295

 - 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:
      160 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.8888844 to 22.8891734
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4125110  -- OK for SL --
   MIU time from 2023-05-30T11:00:08.973.571.000 to 2023-05-30T11:00:08.973.860.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.412588

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.3016844 to 44.3019734
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.9596790  -- OK for SL --
   MIU time from 2023-05-30T11:00:30.386.448.000 to 2023-05-30T11:00:30.386.737.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.959689

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.2616524 to 47.2619414
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-30T11:00:33.346.426.000 to 2023-05-30T11:00:33.346.715.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 = 4, 32bit 10MHz counter = 6.142356400 corrected by 40bit 10MHz counter of 5.915367900 obtained at 1Hz counter of 4. Result: 4.226989294
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-05-30T10:59:52.226.846.725
   Max 1st sample MIU time among all SL packets: 2023-05-30T11:00:33.346.574.725
   Min 1st sample XO time among all SL packets: 4.226849019
   Max 1st sample XO time among all SL packets: 45.346577338
   TM values from -515 to 514 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-30T10:59:52.226.846.725 (XO: 4.226849019 - 4.227155020, t=40.4 degC)  Rank: 00072
   TM values: Max =   189  Min =  -285  Ave =    -4.50  Std =    20.40
   Min TM value:-285 at an offset of 109.063 usec -> 2023-05-30T10:59:52.226.955.787 (XO: 4.226958082)
   Max TM value:189 at an offset of 96.663 usec -> 2023-05-30T10:59:52.226.943.387 (XO: 4.226945682)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 106.913 usec -> 2023-05-30T10:59:52.226.953.637 (XO: 4.226955932)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 108.925 usec -> 2023-05-30T10:59:52.226.955.650 (XO: 4.226957944)

 - Block number: 2 starting at 2023-05-30T11:00:08.973.430.725 (XO: 20.973435432 - 20.973741433, t=40.4 degC)  Rank: 00160
   TM values: Max =   514  Min =  -515  Ave =    -4.99  Std =    82.94
   Min TM value:-515 at an offset of 302.939 usec -> 2023-05-30T11:00:08.973.733.663 (XO: 20.973738371)
   Max TM value:514 at an offset of 274.363 usec -> 2023-05-30T11:00:08.973.705.088 (XO: 20.973709795)
   Max dTM/dt [1/us]:4.48e+03 at an offset of 302.989 usec -> 2023-05-30T11:00:08.973.733.713 (XO: 20.973738421)
   Min dTM/dt [1/us]:-4.40e+03 at an offset of 283.363 usec -> 2023-05-30T11:00:08.973.714.088 (XO: 20.973718796)

 - Block number: 3 starting at 2023-05-30T11:00:30.386.307.725 (XO: 42.386310077 - 42.386616078, t=40.4 degC)  Rank: 00081
   TM values: Max =   191  Min =  -236  Ave =    -4.44  Std =    17.62
   Min TM value:-236 at an offset of 118.050 usec -> 2023-05-30T11:00:30.386.425.775 (XO: 42.386428127)
   Max TM value:191 at an offset of 123.025 usec -> 2023-05-30T11:00:30.386.430.750 (XO: 42.386433103)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 120.600 usec -> 2023-05-30T11:00:30.386.428.325 (XO: 42.386430678)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 105.688 usec -> 2023-05-30T11:00:30.386.413.412 (XO: 42.386415765)

 - Block number: 4 starting at 2023-05-30T11:00:33.346.285.725 (XO: 45.346288337 - 45.346594338, t=40.4 degC)  Rank: 00080
   TM values: Max =   203  Min =  -258  Ave =    -4.59  Std =    19.65
   Min TM value:-258 at an offset of 119.825 usec -> 2023-05-30T11:00:33.346.405.550 (XO: 45.346408162)
   Max TM value:203 at an offset of 119.563 usec -> 2023-05-30T11:00:33.346.405.287 (XO: 45.346407900)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 122.188 usec -> 2023-05-30T11:00:33.346.407.912 (XO: 45.346410525)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 119.688 usec -> 2023-05-30T11:00:33.346.405.412 (XO: 45.346408025)
