-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jun  2 03:42:29 2023 UTC
-- File 20230601_170639_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 8.145958 to 32.176285
-each separately from 8s to 32s and from 145958us to 446276us.
   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, ...
      17.299740 in 1 packets: 18
      6.729720 in 1 packets: 36
MIU packet time from 2023-06-01T17:06:50.145.958.000 to 2023-06-01T17:07:14.176.285.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, ...
      17.299740 in 1 packets: 18
      6.729720 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 9.4298792 to 33.4297941
   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, ...
      16.9999397 in 1 packets: 18
      6.9999752 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets (all packets)
Temperature XO: 
      C4 -> 42.0 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20230601_170639_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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.5758389 to 9.5761279
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2996790  -- OK for SL --
   MIU time from 2023-06-01T17:06:50.145.958.000 to 2023-06-01T17:06:50.146.247.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.299740

 - 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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.8758069 to 26.8760959
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7296950  -- OK for SL --
   MIU time from 2023-06-01T17:07:07.445.987.000 to 2023-06-01T17:07:07.446.276.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.729720

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.6057909 to 33.6060799
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-01T17:07:14.175.996.000 to 2023-06-01T17:07:14.176.285.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 = 8, 32bit 10MHz counter = 9.575838900 corrected by 40bit 10MHz counter of 9.429879200 obtained at 1Hz counter of 8. Result: 8.145960211
--
   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: 2023-06-01T17:06:50.145.817.725
   Max 1st sample MIU time among all SL packets: 2023-06-01T17:07:14.176.144.725
   Min 1st sample XO time among all SL packets: 8.145819935
   Max 1st sample XO time among all SL packets: 32.176146159
   TM values from -290 to 310 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-01T17:06:50.145.817.725 (XO: 8.145819935 - 8.146125936, t=42.0 degC)  Rank: 00056
   TM values: Max =   310  Min =  -290  Ave =    -4.38  Std =    42.76
   Min TM value:-290 at an offset of 116.488 usec -> 2023-06-01T17:06:50.145.934.212 (XO: 8.145936423)
   Max TM value:310 at an offset of 114.088 usec -> 2023-06-01T17:06:50.145.931.812 (XO: 8.145934023)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 113.975 usec -> 2023-06-01T17:06:50.145.931.700 (XO: 8.145933911)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 114.138 usec -> 2023-06-01T17:06:50.145.931.862 (XO: 8.145934073)

 - Block number: 2 starting at 2023-06-01T17:07:07.445.846.725 (XO: 25.445849285 - 25.446155287, t=42.0 degC)  Rank: 00065
   TM values: Max =   220  Min =  -277  Ave =    -4.37  Std =    29.25
   Min TM value:-277 at an offset of 112.075 usec -> 2023-06-01T17:07:07.445.958.800 (XO: 25.445961361)
   Max TM value:220 at an offset of 99.750 usec -> 2023-06-01T17:07:07.445.946.475 (XO: 25.445949036)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 114.438 usec -> 2023-06-01T17:07:07.445.961.162 (XO: 25.445963723)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 111.913 usec -> 2023-06-01T17:07:07.445.958.637 (XO: 25.445961198)

 - Block number: 3 starting at 2023-06-01T17:07:14.175.855.725 (XO: 32.175857158 - 32.176163159, t=42.0 degC)  Rank: 00063
   TM values: Max =   231  Min =  -243  Ave =    -4.38  Std =    37.25
   Min TM value:-243 at an offset of 123.900 usec -> 2023-06-01T17:07:14.175.979.625 (XO: 32.175981059)
   Max TM value:231 at an offset of 128.875 usec -> 2023-06-01T17:07:14.175.984.600 (XO: 32.175986034)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 67.288 usec -> 2023-06-01T17:07:14.175.923.012 (XO: 32.175924446)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 128.988 usec -> 2023-06-01T17:07:14.175.984.712 (XO: 32.175986146)
