diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-16 12:37:12 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-16 12:57:29 +0200 |
| commit | 5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch) | |
| tree | 4d09343cfe757239895a0dd9b399242d2a07d7c2 /lib/jt9w.f90 | |
| parent | 23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff) | |
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'lib/jt9w.f90')
| -rwxr-xr-x | lib/jt9w.f90 | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/lib/jt9w.f90 b/lib/jt9w.f90 index 47623e7b..c4cd4039 100755 --- a/lib/jt9w.f90 +++ b/lib/jt9w.f90 @@ -1,28 +1,28 @@ -program jt9w - - parameter (NSMAX=6827,NZMAX=60*12000) - real ss(184,NSMAX) - real ref(NSMAX) - integer*2 id2(NZMAX) - character*12 arg - character*22 decoded - - call getarg(1,arg) - read(arg,*) iutc - - open(20,file='refspec.dat',status='old') - do i=1,NSMAX - read(20,*) j,freq,ref(i) - enddo - - do ifile=1,999 - read(60,end=999) nutc,nfqso,ntol,ndepth,nmode,nsubmode,ss,id2 - if(nutc.ne.iutc) cycle - ntol=100 - call decode9w(nutc,nfqso,ntol,nsubmode,ss,id2,sync,nsnr,xdt,freq,decoded) - write(*,1100) nutc,nsnr,xdt1-1.0,nint(freq),decoded -1100 format(i4.4,i4,f5.1,i5,1x,'@',1x,a22) - exit - enddo - -999 end program jt9w +program jt9w
+
+ parameter (NSMAX=6827,NZMAX=60*12000)
+ real ss(184,NSMAX)
+ real ref(NSMAX)
+ integer*2 id2(NZMAX)
+ character*12 arg
+ character*22 decoded
+
+ call getarg(1,arg)
+ read(arg,*) iutc
+
+ open(20,file='refspec.dat',status='old')
+ do i=1,NSMAX
+ read(20,*) j,freq,ref(i)
+ enddo
+
+ do ifile=1,999
+ read(60,end=999) nutc,nfqso,ntol,ndepth,nmode,nsubmode,ss,id2
+ if(nutc.ne.iutc) cycle
+ ntol=100
+ call decode9w(nutc,nfqso,ntol,nsubmode,ss,id2,sync,nsnr,xdt,freq,decoded)
+ write(*,1100) nutc,nsnr,xdt1-1.0,nint(freq),decoded
+1100 format(i4.4,i4,f5.1,i5,1x,'@',1x,a22)
+ exit
+ enddo
+
+999 end program jt9w
|
