summaryrefslogtreecommitdiff
path: root/lib/extract.f90
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /lib/extract.f90
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff)
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'lib/extract.f90')
-rw-r--r--lib/extract.f9012
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/extract.f90 b/lib/extract.f90
index 234f5137..2f659727 100644
--- a/lib/extract.f90
+++ b/lib/extract.f90
@@ -27,6 +27,7 @@ subroutine extract(s3,nadd,mode65,ntrials,naggressive,ndepth,nflip, &
integer apsymbols(7,12),ap(12)
integer nappasses(0:5) ! the number of decoding passes to use for each QSO state
integer naptypes(0:5,4) ! (nQSOProgress, decoding pass) maximum of 4 passes for now
+ integer :: cache_epoch=-1
integer dat4(12)
integer mrsym(63),mr2sym(63),mrprob(63),mr2prob(63)
integer correct(63),tmp(63)
@@ -36,7 +37,11 @@ subroutine extract(s3,nadd,mode65,ntrials,naggressive,ndepth,nflip, &
save
if(mode65.eq.-99) stop !Silence compiler warning
- if(first) then
+ if(first.or.cache_epoch/=jt65_ap_epoch) then
+ mycall0=''
+ hiscall0=''
+ hisgrid0=''
+ cache_epoch=jt65_ap_epoch
! aptype
!------------------------
@@ -68,6 +73,7 @@ subroutine extract(s3,nadd,mode65,ntrials,naggressive,ndepth,nflip, &
apsymbols=-1
mycall0=mycall
hiscall0=hiscall
+ hisgrid0=hisgrid
ap=-1
apsymbols(1,1:4)=(/62,32,32,49/) ! CQ
if(len_trim(mycall).gt.0) then
@@ -108,6 +114,10 @@ subroutine extract(s3,nadd,mode65,ntrials,naggressive,ndepth,nflip, &
nfail=0
decoded=' '
call pctile(s3,4032,npct,base)
+ ncount=-1
+ nhist=0
+ ltext=.false.
+ if(base<=0.) return
s3=s3/base
s3a=s3 !###