-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat May 20 21:49:09 2023 UTC
-- File 20230520_183634_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 0.341653 to 39.668391
-each separately from 0s to 39s and from 341653us to 668391us.
   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, ...
      16.079051 in 1 packets: 18
      23.246820 in 1 packets: 36
MIU packet time from 2023-05-20T18:36:37.341.653.000 to 2023-05-20T18:37:16.668.391.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, ...
      16.079051 in 1 packets: 18
      23.246820 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 1.7482193 to 40.7480751
   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, ...
      15.9999409 in 1 packets: 18
      22.9999149 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 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 20230520_183634_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.0898737 to 2.0901627
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0789910  -- OK for SL --
   MIU time from 2023-05-20T18:36:37.341.653.000 to 2023-05-20T18:36:37.341.942.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.079051

 - 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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.1691537 to 18.1694427
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2467350  -- OK for SL --
   MIU time from 2023-05-20T18:36:53.420.993.000 to 2023-05-20T18:36:53.421.282.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.246820

 - 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:
      39 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.4161777 to 41.4164667
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-20T18:37:16.668.102.000 to 2023-05-20T18:37:16.668.391.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 = 0, 32bit 10MHz counter = 2.089873700 corrected by 40bit 10MHz counter of 1.748219300 obtained at 1Hz counter of 0. Result: 0.341655664
--
   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.999996300 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2023-05-20T18:36:37.341.512.725
   Max 1st sample MIU time among all SL packets: 2023-05-20T18:37:16.668.250.725
   Min 1st sample XO time among all SL packets: 0.341515389
   Max 1st sample XO time among all SL packets: 39.668253798
   TM values from -189 to 169 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-20T18:36:37.341.512.725 (XO: 0.341515389 - 0.341821390, t=37.2 degC)  Rank: 00076
   TM values: Max =   169  Min =  -170  Ave =    -4.32  Std =    56.55
   Min TM value:-170 at an offset of 134.763 usec -> 2023-05-20T18:36:37.341.647.487 (XO: 0.341650152)
   Max TM value:169 at an offset of 129.300 usec -> 2023-05-20T18:36:37.341.642.025 (XO: 0.341644689)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 135.313 usec -> 2023-05-20T18:36:37.341.648.038 (XO: 0.341650702)
   Min dTM/dt [1/us]:-1.41e+03 at an offset of 150.676 usec -> 2023-05-20T18:36:37.341.663.400 (XO: 0.341666064)

 - Block number: 2 starting at 2023-05-20T18:36:53.420.852.725 (XO: 16.420854782 - 16.421160783, t=37.2 degC)  Rank: 00061
   TM values: Max =   168  Min =  -189  Ave =    -4.46  Std =    48.71
   Min TM value:-189 at an offset of 165.338 usec -> 2023-05-20T18:36:53.421.018.063 (XO: 16.421020120)
   Max TM value:168 at an offset of 131.013 usec -> 2023-05-20T18:36:53.420.983.737 (XO: 16.420985795)
   Max dTM/dt [1/us]:1.40e+03 at an offset of 141.501 usec -> 2023-05-20T18:36:53.420.994.225 (XO: 16.420996283)
   Min dTM/dt [1/us]:-1.30e+03 at an offset of 139.488 usec -> 2023-05-20T18:36:53.420.992.213 (XO: 16.420994270)

 - Block number: 3 starting at 2023-05-20T18:37:16.667.961.725 (XO: 39.667964796 - 39.668270798, t=37.2 degC)  Rank: 00039
   TM values: Max =   111  Min =  -134  Ave =    -4.46  Std =    39.18
   Min TM value:-134 at an offset of 109.650 usec -> 2023-05-20T18:37:16.668.071.375 (XO: 39.668074447)
   Max TM value:111 at an offset of 86.763 usec -> 2023-05-20T18:37:16.668.048.487 (XO: 39.668051559)
   Max dTM/dt [1/us]:1.08e+03 at an offset of 105.113 usec -> 2023-05-20T18:37:16.668.066.837 (XO: 39.668069909)
   Min dTM/dt [1/us]:-1.21e+03 at an offset of 109.725 usec -> 2023-05-20T18:37:16.668.071.450 (XO: 39.668074522)
