From a966199b1e8734414d2a5ac02b39090ad6ebc2ed Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 25 Dec 2007 19:09:33 +0000 Subject: [PATCH] No need for get_fname.F90. delete it. Don't write azel.dat while decoding. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@598 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- astro0.F90 | 2 +- get_fname.F90 | 36 ------------------------------------ 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 get_fname.F90 diff --git a/astro0.F90 b/astro0.F90 index fabafea4f..95be2b62e 100644 --- a/astro0.F90 +++ b/astro0.F90 @@ -96,7 +96,7 @@ subroutine astro0(nyear,month,nday,uth8,nfreq,grid,cauxra,cauxdec, & isec=3600*uth8 !#ifdef CVF - if(isec.ne.isec0) then + if(isec.ne.isec0 .and. ndecoding.eq.0) then ih=uth8 im=mod(imin,60) is=mod(isec,60) diff --git a/get_fname.F90 b/get_fname.F90 deleted file mode 100644 index 8b16044e9..000000000 --- a/get_fname.F90 +++ /dev/null @@ -1,36 +0,0 @@ - -subroutine get_fname(hiscall,ntime,trperiod,lauto,fname) - -#ifdef CVF - use dfport -#else - external gmtime_r -#endif - - character hiscall*12,fname*24,tag*7 - integer ntime - integer trperiod - integer it(9) - - n1=ntime - n2=(n1+2)/trperiod - n3=n2*trperiod -#ifdef CVF - call gmtime(n3,it) -#else - call gmtime_r(n3,it) -#endif - it(5)=it(5)+1 - it(6)=mod(it(6),100) - write(fname,1000) (it(j),j=6,1,-1) -1000 format('_',3i2.2,'_',3i2.2,'.WAV') - tag=hiscall - i=index(hiscall,'/') - if(i.ge.5) tag=hiscall(1:i-1) - if(i.ge.2.and.i.le.4) tag=hiscall(i+1:) - if(hiscall(1:1).eq.' ' .or. lauto.eq.0) tag='Mon' - i=index(tag,' ') - fname=tag(1:i-1)//fname - - return -end subroutine get_fname