-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Nov 28 21:29:41 2021 UTC
-- File 20210727_030209_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 13.391697 to 53.382168
-each separately from 13s to 53s and from 381879us to 662837us.
   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, ...
      9.229757 in 1 packets: 18
      11.040516 in 1 packets: 36
      19.719042 in 1 packets: 54
MIU packet time from 2021-07-27T03:02:25.391.697.000 to 2021-07-27T03:03:05.382.168.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, ...
      9.229757 in 1 packets: 18
      11.040516 in 1 packets: 36
      19.719042 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 14.8611358 to 54.8610021
   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, ...
      8.9999699 in 1 packets: 18
      10.9999633 in 1 packets: 36
      19.9999331 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210727_030209_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.2528335 to 15.2531225
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.2297270  -- OK for SL --
   MIU time from 2021-07-27T03:02:25.391.697.000 to 2021-07-27T03:02:25.391.986.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.229757

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.4828495 to 24.4831385
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.0404790  -- OK for SL --
   MIU time from 2021-07-27T03:02:34.621.743.000 to 2021-07-27T03:02:34.622.032.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.040516

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.5236175 to 35.5239065
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7189750  -- OK for SL --
   MIU time from 2021-07-27T03:02:45.662.548.000 to 2021-07-27T03:02:45.662.837.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.719042

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.2428815 to 55.2431705
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-27T03:03:05.381.879.000 to 2021-07-27T03:03:05.382.168.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 = 13, 32bit 10MHz counter = 15.252833500 corrected by 40bit 10MHz counter of 14.861135800 obtained at 1Hz counter of 13. Result: 13.391698993
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-27T03:02:25.391.556.725
   Max 1st sample MIU time among all SL packets: 2021-07-27T03:03:05.382.027.725
   Min 1st sample XO time among all SL packets: 13.391558717
   Max 1st sample XO time among all SL packets: 53.382029424
   TM values from -571 to 347 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-27T03:02:25.391.556.725 (XO: 13.391558717 - 13.391864718, t=37.2 degC)  Rank: 00078
   TM values: Max =   203  Min =  -230  Ave =    -4.46  Std =    25.92
   Min TM value:-230 at an offset of 112.125 usec -> 2021-07-27T03:02:25.391.668.850 (XO: 13.391670843)
   Max TM value:203 at an offset of 111.875 usec -> 2021-07-27T03:02:25.391.668.600 (XO: 13.391670593)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 127.463 usec -> 2021-07-27T03:02:25.391.684.187 (XO: 13.391686180)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 111.950 usec -> 2021-07-27T03:02:25.391.668.675 (XO: 13.391670668)

 - Block number: 2 starting at 2021-07-27T03:02:34.621.602.725 (XO: 22.621605576 - 22.621911577, t=37.2 degC)  Rank: 00076
   TM values: Max =   198  Min =  -249  Ave =    -4.54  Std =    20.29
   Min TM value:-249 at an offset of 116.288 usec -> 2021-07-27T03:02:34.621.719.012 (XO: 22.621721864)
   Max TM value:198 at an offset of 115.950 usec -> 2021-07-27T03:02:34.621.718.675 (XO: 22.621721527)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 118.688 usec -> 2021-07-27T03:02:34.621.721.412 (XO: 22.621724264)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 116.088 usec -> 2021-07-27T03:02:34.621.718.812 (XO: 22.621721664)

 - Block number: 3 starting at 2021-07-27T03:02:45.662.407.725 (XO: 33.662410477 - 33.662716478, t=37.2 degC)  Rank: 00074
   TM values: Max =   347  Min =  -571  Ave =    -4.49  Std =    47.63
   Min TM value:-571 at an offset of 303.314 usec -> 2021-07-27T03:02:45.662.711.038 (XO: 33.662713791)
   Max TM value:347 at an offset of 303.564 usec -> 2021-07-27T03:02:45.662.711.288 (XO: 33.662714041)
   Max dTM/dt [1/us]:4.53e+03 at an offset of 303.364 usec -> 2021-07-27T03:02:45.662.711.088 (XO: 33.662713841)
   Min dTM/dt [1/us]:-4.90e+03 at an offset of 303.276 usec -> 2021-07-27T03:02:45.662.711.001 (XO: 33.662713753)

 - Block number: 4 starting at 2021-07-27T03:03:05.381.738.725 (XO: 53.381740423 - 53.382046424, t=37.2 degC)  Rank: 00075
   TM values: Max =   183  Min =  -233  Ave =    -4.50  Std =    21.49
   Min TM value:-233 at an offset of 125.350 usec -> 2021-07-27T03:03:05.381.864.075 (XO: 53.381865773)
   Max TM value:183 at an offset of 128.013 usec -> 2021-07-27T03:03:05.381.866.737 (XO: 53.381868436)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 127.813 usec -> 2021-07-27T03:03:05.381.866.537 (XO: 53.381868236)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 125.175 usec -> 2021-07-27T03:03:05.381.863.900 (XO: 53.381865598)
