-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Aug  1 23:47:54 2021 UTC
-- File 20210701_065715_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 8.427628 to 53.298093
-each separately from 8s to 53s and from 207635us to 607931us.
   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, ...
      19.779718 in 1 packets: 18
      2.399718 in 1 packets: 36
      22.689873 in 1 packets: 54
MIU packet time from 2021-07-01T06:57:22.427.628.000 to 2021-07-01T06:58:07.298.093.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, ...
      19.779718 in 1 packets: 18
      2.399718 in 1 packets: 36
      22.689873 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 9.3993750 to 54.3992148
   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, ...
      19.9999288 in 1 packets: 18
      1.9999929 in 1 packets: 36
      22.9999181 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 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 1 packets: 1
      1 in 71 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210701_065715_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.8270034 to 9.8272924
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7796470  -- OK for SL --
   MIU time from 2021-07-01T06:57:22.427.628.000 to 2021-07-01T06:57:22.427.917.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.779718

 - 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 29.6069394 to 29.6072284
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.3997110  -- OK for SL --
   MIU time from 2021-07-01T06:57:42.207.635.000 to 2021-07-01T06:57:42.207.924.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.399718

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.0069394 to 32.0072284
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.6897910  -- OK for SL --
   MIU time from 2021-07-01T06:57:44.607.642.000 to 2021-07-01T06:57:44.607.931.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.689873

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.6970194 to 54.6973084
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T06:58:07.297.804.000 to 2021-07-01T06:58:07.298.093.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 = 8, 32bit 10MHz counter = 9.827003400 corrected by 40bit 10MHz counter of 9.399375000 obtained at 1Hz counter of 8. Result: 8.427629939
--
   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-01T06:57:22.427.487.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T06:58:07.297.952.725
   Min 1st sample XO time among all SL packets: 8.427489664
   Max 1st sample XO time among all SL packets: 53.297954398
   TM values from -266 to 262 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T06:57:22.427.487.725 (XO: 8.427489664 - 8.427795665, t=35.6 degC)  Rank: 00083
   TM values: Max =   246  Min =  -264  Ave =    -4.34  Std =    24.78
   Min TM value:-264 at an offset of 107.625 usec -> 2021-07-01T06:57:22.427.595.350 (XO: 8.427597289)
   Max TM value:246 at an offset of 107.350 usec -> 2021-07-01T06:57:22.427.595.075 (XO: 8.427597014)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 110.075 usec -> 2021-07-01T06:57:22.427.597.800 (XO: 8.427599739)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 107.438 usec -> 2021-07-01T06:57:22.427.595.162 (XO: 8.427597102)

 - Block number: 2 starting at 2021-07-01T06:57:42.207.494.725 (XO: 28.207496072 - 28.207802073, t=35.6 degC)  Rank: 00079
   TM values: Max =   217  Min =  -260  Ave =    -4.41  Std =    20.94
   Min TM value:-260 at an offset of 110.700 usec -> 2021-07-01T06:57:42.207.605.425 (XO: 28.207606772)
   Max TM value:217 at an offset of 113.363 usec -> 2021-07-01T06:57:42.207.608.087 (XO: 28.207609435)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 113.175 usec -> 2021-07-01T06:57:42.207.607.900 (XO: 28.207609247)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 110.525 usec -> 2021-07-01T06:57:42.207.605.250 (XO: 28.207606597)

 - Block number: 3 starting at 2021-07-01T06:57:44.607.501.725 (XO: 30.607504612 - 30.607810613, t=35.6 degC)  Rank: 00080
   TM values: Max =   229  Min =  -231  Ave =    -4.24  Std =    20.85
   Min TM value:-231 at an offset of 119.638 usec -> 2021-07-01T06:57:44.607.621.362 (XO: 30.607624250)
   Max TM value:229 at an offset of 122.288 usec -> 2021-07-01T06:57:44.607.624.012 (XO: 30.607626900)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 122.150 usec -> 2021-07-01T06:57:44.607.623.875 (XO: 30.607626762)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 119.400 usec -> 2021-07-01T06:57:44.607.621.125 (XO: 30.607624012)

 - Block number: 4 starting at 2021-07-01T06:58:07.297.663.725 (XO: 53.297665397 - 53.297971398, t=35.6 degC)  Rank: 00080
   TM values: Max =   262  Min =  -266  Ave =    -4.43  Std =    32.85
   Min TM value:-266 at an offset of 120.500 usec -> 2021-07-01T06:58:07.297.784.225 (XO: 53.297785897)
   Max TM value:262 at an offset of 123.200 usec -> 2021-07-01T06:58:07.297.786.925 (XO: 53.297788597)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 123.038 usec -> 2021-07-01T06:58:07.297.786.762 (XO: 53.297788435)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 120.313 usec -> 2021-07-01T06:58:07.297.784.037 (XO: 53.297785710)
