-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 29 16:36:16 2021 UTC
-- File 20210830_114141_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.009962 to 49.448274
-each separately from 13s to 49s and from 9962us to 968875us.
   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, ...
      10.860128 in 1 packets: 18
      19.097918 in 1 packets: 36
      6.479110 in 1 packets: 54
MIU packet time from 2021-08-30T11:41:57.009.962.000 to 2021-08-30T11:42:33.448.274.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, ...
      10.860128 in 1 packets: 18
      19.097918 in 1 packets: 36
      6.479110 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.9381986 to 50.9380795
   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, ...
      9.9999669 in 1 packets: 18
      18.9999372 in 1 packets: 36
      6.9999768 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, ...
      04 -> 49.8 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 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: 
      1 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210830_114141_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:
      99 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.9481616 to 14.9484506
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8600950  -- OK for SL --
   MIU time from 2021-08-30T11:41:57.009.962.000 to 2021-08-30T11:41:57.010.251.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.860128

 - 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 25.8085456 to 25.8088346
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0978550  -- OK for SL --
   MIU time from 2021-08-30T11:42:07.870.379.000 to 2021-08-30T11:42:07.870.668.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.097918

 - 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 44.9066896 to 44.9069786
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.4790870  -- OK for SL --
   MIU time from 2021-08-30T11:42:26.968.586.000 to 2021-08-30T11:42:26.968.875.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.479110

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.3860656 to 51.3863546
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-30T11:42:33.447.985.000 to 2021-08-30T11:42:33.448.274.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 = 14.948161600 corrected by 40bit 10MHz counter of 14.938198600 obtained at 1Hz counter of 13. Result: 13.009963033
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-30T11:41:57.009.821.725
   Max 1st sample MIU time among all SL packets: 2021-08-30T11:42:33.448.133.725
   Min 1st sample XO time among all SL packets: 13.009822757
   Max 1st sample XO time among all SL packets: 49.448136259
   TM values from -354 to 420 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-30T11:41:57.009.821.725 (XO: 13.009822757 - 13.010128758, t=37.2 degC)  Rank: 00099
   TM values: Max =   420  Min =  -354  Ave =    -4.35  Std =    38.69
   Min TM value:-354 at an offset of 93.863 usec -> 2021-08-30T11:41:57.009.915.587 (XO: 13.009916620)
   Max TM value:420 at an offset of 94.263 usec -> 2021-08-30T11:41:57.009.915.987 (XO: 13.009917020)
   Max dTM/dt [1/us]:3.40e+03 at an offset of 94.200 usec -> 2021-08-30T11:41:57.009.915.925 (XO: 13.009916958)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 94.513 usec -> 2021-08-30T11:41:57.009.916.237 (XO: 13.009917270)

 - Block number: 2 starting at 2021-08-30T11:42:07.870.238.725 (XO: 23.870242697 - 23.870548698, t=37.2 degC)  Rank: 00079
   TM values: Max =   197  Min =  -246  Ave =    -4.49  Std =    26.29
   Min TM value:-246 at an offset of 119.863 usec -> 2021-08-30T11:42:07.870.358.587 (XO: 23.870362560)
   Max TM value:197 at an offset of 119.575 usec -> 2021-08-30T11:42:07.870.358.300 (XO: 23.870362272)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 122.250 usec -> 2021-08-30T11:42:07.870.360.975 (XO: 23.870364947)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 119.688 usec -> 2021-08-30T11:42:07.870.358.412 (XO: 23.870362385)

 - Block number: 3 starting at 2021-08-30T11:42:26.968.445.725 (XO: 42.968449918 - 42.968755919, t=37.2 degC)  Rank: 00080
   TM values: Max =   212  Min =  -235  Ave =    -4.44  Std =    18.14
   Min TM value:-235 at an offset of 118.100 usec -> 2021-08-30T11:42:26.968.563.825 (XO: 42.968568018)
   Max TM value:212 at an offset of 120.738 usec -> 2021-08-30T11:42:26.968.566.462 (XO: 42.968570656)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 120.575 usec -> 2021-08-30T11:42:26.968.566.300 (XO: 42.968570493)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 117.925 usec -> 2021-08-30T11:42:26.968.563.650 (XO: 42.968567843)

 - Block number: 4 starting at 2021-08-30T11:42:33.447.844.725 (XO: 49.447847258 - 49.448153259, t=37.2 degC)  Rank: 00085
   TM values: Max =   206  Min =  -242  Ave =    -4.49  Std =    21.31
   Min TM value:-242 at an offset of 161.376 usec -> 2021-08-30T11:42:33.448.006.100 (XO: 49.448008634)
   Max TM value:206 at an offset of 119.888 usec -> 2021-08-30T11:42:33.447.964.612 (XO: 49.447967146)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 119.763 usec -> 2021-08-30T11:42:33.447.964.487 (XO: 49.447967021)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 117.038 usec -> 2021-08-30T11:42:33.447.961.762 (XO: 49.447964296)
