-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan 12 00:25:26 2024 UTC
-- File 20230724_060009_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.693190 to 39.774742
-each separately from 5s to 39s and from 693190us to 804335us.
   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, ...
      17.110567 in 1 packets: 18
      16.970118 in 1 packets: 36
MIU packet time from 2023-07-24T06:00:17.693.190.000 to 2023-07-24T06:00:51.774.742.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, ...
      17.110567 in 1 packets: 18
      16.970118 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 6.3804203 to 40.3803096
   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, ...
      16.9999446 in 1 packets: 18
      16.9999447 in 1 packets: 36
Temperature FPGA: 
      FE -> 57.6 degC in 54 packets (all packets)
Temperature XO: 
      C6 -> 45.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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20230724_060009_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.0736128 to 7.0739018
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.1105110  -- OK for SL --
   MIU time from 2023-07-24T06:00:17.693.190.000 to 2023-07-24T06:00:17.693.479.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.110567

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.1844128 to 24.1847018
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9700630  -- OK for SL --
   MIU time from 2023-07-24T06:00:34.804.046.000 to 2023-07-24T06:00:34.804.335.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.970118

 - 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:
      109 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.1547648 to 41.1550538
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-24T06:00:51.774.453.000 to 2023-07-24T06:00:51.774.742.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 = 5, 32bit 10MHz counter = 7.073612800 corrected by 40bit 10MHz counter of 6.380420300 obtained at 1Hz counter of 5. Result: 5.693194788
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2023-07-24T06:00:17.693.049.725
   Max 1st sample MIU time among all SL packets: 2023-07-24T06:00:51.774.601.725
   Min 1st sample XO time among all SL packets: 5.693054512
   Max 1st sample XO time among all SL packets: 39.774606481
   TM values from -900 to 1077 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-24T06:00:17.693.049.725 (XO: 5.693054512 - 5.693360513, t=45.2 degC)  Rank: 00077
   TM values: Max =   169  Min =  -225  Ave =    -4.38  Std =    20.49
   Min TM value:-225 at an offset of 124.513 usec -> 2023-07-24T06:00:17.693.174.237 (XO: 5.693179025)
   Max TM value:169 at an offset of 109.375 usec -> 2023-07-24T06:00:17.693.159.100 (XO: 5.693163887)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 124.625 usec -> 2023-07-24T06:00:17.693.174.350 (XO: 5.693179137)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 109.500 usec -> 2023-07-24T06:00:17.693.159.225 (XO: 5.693164012)

 - Block number: 2 starting at 2023-07-24T06:00:34.803.905.725 (XO: 22.803910198 - 22.804216198, t=45.2 degC)  Rank: 00082
   TM values: Max =   207  Min =  -265  Ave =    -4.48  Std =    33.11
   Min TM value:-265 at an offset of 124.963 usec -> 2023-07-24T06:00:34.804.030.687 (XO: 22.804035160)
   Max TM value:207 at an offset of 188.588 usec -> 2023-07-24T06:00:34.804.094.313 (XO: 22.804098786)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 214.563 usec -> 2023-07-24T06:00:34.804.120.288 (XO: 22.804124761)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 212.176 usec -> 2023-07-24T06:00:34.804.117.900 (XO: 22.804122373)

 - Block number: 3 starting at 2023-07-24T06:00:51.774.312.725 (XO: 39.774317480 - 39.774623481, t=45.2 degC)  Rank: 00109
   TM values: Max =  1077  Min =  -900  Ave =    -4.56  Std =    35.88
   Min TM value:-900 at an offset of 103.375 usec -> 2023-07-24T06:00:51.774.416.100 (XO: 39.774420856)
   Max TM value:1077 at an offset of 103.488 usec -> 2023-07-24T06:00:51.774.416.212 (XO: 39.774420968)
   Max dTM/dt [1/us]:1.31e+04 at an offset of 103.425 usec -> 2023-07-24T06:00:51.774.416.150 (XO: 39.774420906)
   Min dTM/dt [1/us]:-1.23e+04 at an offset of 103.525 usec -> 2023-07-24T06:00:51.774.416.250 (XO: 39.774421006)
