-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 10:06:10 2023 UTC
-- File 20210702_054139_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 5.638825 to 42.969279
-each separately from 5s to 42s and from 638825us to 969279us.
   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, ...
      15.089909 in 1 packets: 18
      22.239678 in 1 packets: 36
MIU packet time from 2021-07-02T05:41:43.638.825.000 to 2021-07-02T05:42:20.969.279.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, ...
      15.089909 in 1 packets: 18
      22.239678 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 5.4296731 to 42.4295397
   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, ...
      14.9999459 in 1 packets: 18
      21.9999207 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 20210702_054139_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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0684981 to 6.0687871
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0898550  -- OK for SL --
   MIU time from 2021-07-02T05:41:43.638.825.000 to 2021-07-02T05:41:43.639.114.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.089909

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.1586421 to 21.1589311
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.2395990  -- OK for SL --
   MIU time from 2021-07-02T05:41:58.729.023.000 to 2021-07-02T05:41:58.729.312.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.239678

 - 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 43.3985301 to 43.3988191
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-02T05:42:20.968.990.000 to 2021-07-02T05:42:20.969.279.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 45 XO calibration points at 1Hz counter from 0 to 44
   --- First point: 1Hz counter = 5, 32bit 10MHz counter = 6.068498100 corrected by 40bit 10MHz counter of 5.429673100 obtained at 1Hz counter of 5. Result: 5.638827300
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2021-07-02T05:41:43.638.684.725
   Max 1st sample MIU time among all SL packets: 2021-07-02T05:42:20.969.138.725
   Min 1st sample XO time among all SL packets: 5.638687024
   Max 1st sample XO time among all SL packets: 42.969142614
   TM values from -265 to 218 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-02T05:41:43.638.684.725 (XO: 5.638687024 - 5.638993025, t=35.6 degC)  Rank: 00065
   TM values: Max =   218  Min =  -265  Ave =    -4.38  Std =    54.35
   Min TM value:-265 at an offset of 53.175 usec -> 2021-07-02T05:41:43.638.737.900 (XO: 5.638740199)
   Max TM value:218 at an offset of 97.213 usec -> 2021-07-02T05:41:43.638.781.937 (XO: 5.638784237)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 97.000 usec -> 2021-07-02T05:41:43.638.781.725 (XO: 5.638784025)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 81.975 usec -> 2021-07-02T05:41:43.638.766.700 (XO: 5.638769000)

 - Block number: 2 starting at 2021-07-02T05:41:58.728.882.725 (XO: 20.728885449 - 20.729191450, t=35.6 degC)  Rank: 00069
   TM values: Max =   206  Min =  -240  Ave =    -4.36  Std =    23.86
   Min TM value:-240 at an offset of 44.450 usec -> 2021-07-02T05:41:58.728.927.175 (XO: 20.728929899)
   Max TM value:206 at an offset of 47.138 usec -> 2021-07-02T05:41:58.728.929.862 (XO: 20.728932587)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 47.013 usec -> 2021-07-02T05:41:58.728.929.737 (XO: 20.728932462)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 32.075 usec -> 2021-07-02T05:41:58.728.914.800 (XO: 20.728917524)

 - Block number: 3 starting at 2021-07-02T05:42:20.968.849.725 (XO: 42.968853613 - 42.969159614, t=35.6 degC)  Rank: 00065
   TM values: Max =   214  Min =  -234  Ave =    -4.46  Std =    27.88
   Min TM value:-234 at an offset of 151.426 usec -> 2021-07-02T05:42:20.969.001.150 (XO: 42.969005038)
   Max TM value:214 at an offset of 123.163 usec -> 2021-07-02T05:42:20.968.972.887 (XO: 42.968976776)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 125.850 usec -> 2021-07-02T05:42:20.968.975.575 (XO: 42.968979463)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 151.288 usec -> 2021-07-02T05:42:20.969.001.013 (XO: 42.969004901)
