-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Feb  4 20:40:05 2024 UTC
-- File 20240121_032935_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 12.582138 to 34.472758
-each separately from 12s to 34s and from 382238us to 582427us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.799811 in 1 packets: 18
      16.089942 in 1 packets: 36
MIU packet time from 2024-01-21T03:29:50.582.138.000 to 2024-01-21T03:30:12.472.758.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.799811 in 1 packets: 18
      16.089942 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.9456594 to 35.9455842
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.9999795 in 1 packets: 18
      15.9999453 in 1 packets: 36
Temperature FPGA: 
      09 -> 43.3 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      08 -> 44.6 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      07 -> 45.9 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      BE -> 32.4 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20240121_032935_1227.dat, 3 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.5277972 to 14.5280862
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.7997910  -- OK for SL --
   MIU time from 2024-01-21T03:29:50.582.138.000 to 2024-01-21T03:29:50.582.427.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.799811

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.3278772 to 20.3281662
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0898870  -- OK for SL --
   MIU time from 2024-01-21T03:29:56.382.238.000 to 2024-01-21T03:29:56.382.527.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.089942

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.4180532 to 36.4183422
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2024-01-21T03:30:12.472.469.000 to 2024-01-21T03:30:12.472.758.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 12, 32bit 10MHz counter = 14.527797200 corrected by 40bit 10MHz counter of 13.945659400 obtained at 1Hz counter of 12. Result: 12.582139779
--
   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.999996600 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2024-01-21T03:29:50.581.997.725
   Max 1st sample MIU time among all SL packets: 2024-01-21T03:30:12.472.617.725
   Min 1st sample XO time among all SL packets: 12.581999504
   Max 1st sample XO time among all SL packets: 34.472619332
   TM values from -248 to 262 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2024-01-21T03:29:50.581.997.725 (XO: 12.581999504 - 12.582305505, t=32.4 degC)  Rank: 00082
   TM values: Max =   248  Min =  -238  Ave =    -4.56  Std =    19.11
   Min TM value:-238 at an offset of 114.325 usec -> 2024-01-21T03:29:50.582.112.050 (XO: 12.582113829)
   Max TM value:248 at an offset of 111.550 usec -> 2024-01-21T03:29:50.582.109.275 (XO: 12.582111054)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 114.438 usec -> 2024-01-21T03:29:50.582.112.162 (XO: 12.582113942)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 111.663 usec -> 2024-01-21T03:29:50.582.109.387 (XO: 12.582111167)

 - Block number: 2 starting at 2024-01-21T03:29:56.382.097.725 (XO: 18.382099324 - 18.382405325, t=32.4 degC)  Rank: 00079
   TM values: Max =   250  Min =  -228  Ave =    -4.49  Std =    18.38
   Min TM value:-228 at an offset of 113.813 usec -> 2024-01-21T03:29:56.382.211.537 (XO: 18.382213137)
   Max TM value:250 at an offset of 111.050 usec -> 2024-01-21T03:29:56.382.208.775 (XO: 18.382210375)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 113.925 usec -> 2024-01-21T03:29:56.382.211.650 (XO: 18.382213250)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 111.150 usec -> 2024-01-21T03:29:56.382.208.875 (XO: 18.382210475)

 - Block number: 3 starting at 2024-01-21T03:30:12.472.328.725 (XO: 34.472330331 - 34.472636332, t=32.4 degC)  Rank: 00075
   TM values: Max =   262  Min =  -248  Ave =    -4.52  Std =    17.81
   Min TM value:-248 at an offset of 111.613 usec -> 2024-01-21T03:30:12.472.440.337 (XO: 34.472441944)
   Max TM value:262 at an offset of 111.363 usec -> 2024-01-21T03:30:12.472.440.087 (XO: 34.472441694)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 109.025 usec -> 2024-01-21T03:30:12.472.437.750 (XO: 34.472439356)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 111.475 usec -> 2024-01-21T03:30:12.472.440.200 (XO: 34.472441806)
