summaryrefslogtreecommitdiff
path: root/lib/hspec.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2024-09-30 22:36:11 +0200
committerChristoph Berg <myon@debian.org>2024-09-30 22:36:11 +0200
commit4320ce238aae1fe87fc9f379cdd816e9317885fa (patch)
treeb9d97364486fc8b7f79e8e877d5d491bb061740f /lib/hspec.f90
parentfbaeaa72f63f22bf0b53d634f6809cbdfbb46c9f (diff)
New upstream version 2.7.0~rc7+repackupstream/2.7.0_rc7+repack
Diffstat (limited to 'lib/hspec.f90')
-rwxr-xr-xlib/hspec.f9012
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/hspec.f90 b/lib/hspec.f90
index b86163f4..6dd8539a 100755
--- a/lib/hspec.f90
+++ b/lib/hspec.f90
@@ -19,9 +19,10 @@ subroutine hspec(id2,k,nutc0,ntrpdepth,nrxfreq,ntol,bmsk144, &
! jh index of most recent data in green(), s()
parameter (JZ=703)
- character*80 line1
+ character*(*) line1
+ character*80 line0
character*(*) datadir
- character*12 mycall,hiscall
+ character*(*) mycall,hiscall
integer*2 id2(0:120*12000-1)
logical*1 bmsk144,bshmsg,btrain,bswl
real green(0:JZ-1)
@@ -96,7 +97,12 @@ subroutine hspec(id2,k,nutc0,ntrpdepth,nrxfreq,ntol,bmsk144, &
tt2=sum(float(abs(id2(k0:k0+3583))))
if(tt1.ne.0.0 .and. tt2.ne.0) then
call mskrtd(id2(k-7168+1:k),nutc0,tsec,ntol,nrxfreq,ndepth, &
- mycall,hiscall,bshmsg,btrain,pcoeffs,bswl,datadir,line1)
+ mycall,hiscall,bshmsg,btrain,pcoeffs,bswl,datadir,line0)
+ if(line0(1:1).eq.char(0)) then
+ line1(1:1)=char(0)
+ else
+ line1(1:62)=line0(1:62)
+ endif
endif
endif
endif