28 subroutine bwplotcv(ele,fname,bw,be,bs,bn,jm,b1,b2,maxplots,
29 *olddtm,newdtm,region,elecap,ij,igridsec,fn)
51 character*3 ele,elecap
53 character*10 olddtm,newdtm,region
54 real*8 bw(maxplots),be(maxplots),bs(maxplots),bn(maxplots)
56 real*4 b1(maxplots),b2(maxplots)
57 character*10 fn(maxplots)
73 if(fname(3:3).eq.
't')
then 75 elseif(fname(3:3).eq.
'd')
then 77 elseif(fname(3:3).eq.
'a')
then 79 elseif(fname(3:3).eq.
'r')
then 85 1
format(
'FATAL in bwplotcv. Bad character in spot 3: ',a)
87 if(fname(1:2).ne.
'cv')
then 91 2
format(
'FATAL in bwplotcv. Bad character in spots 1-2: ',a)
93 if(.not.(fname(4:5).eq.
'cd' .or. fname(4:5).eq.
'dd'))
then 97 3
format(
'FATAL in bwplotcv. Bad character in spots 4-5: ',a)
99 if(fname(6:8).ne.ele)
then 100 write(6,4)trim(fname),ele
103 4
format(
'FATAL in bwplotcv. Bad match of fname / ele: ',a,1x,a)
107 if(fname(1:3).eq.
'cvacd')
then 111 if(igridsec.le.0)
then 114 write(gridnote,10)igridsec
116 10
format(
'(',i0,
' sec)')
131 write(99,991)ele,extra,trim(region),trim(fn(ij)),
132 *ele,extra,trim(region),trim(fn(ij))
135 write(99,904)trim(fname),bw(ij),be(ij),bs(ij),bn(ij),
136 *jm(ij),b1(ij),b2(ij),trim(newdtm),trim(olddtm),elecap,
137 *extra,trim(gridnote),trim(region),trim(fn(ij))
146 write(99,910)trim(fname),trim(fn(ij))
154 *
'# -----------------------------------------------------',/,
155 *
'# coverage in ',a,a,1x,a,1x,a,/,
156 *
'# -----------------------------------------------------',/,
157 *
'echo ...coverage in ',a,a,1x,a,1x,a)
162 904
format(
'psxy ',a,
' -Xc -R',f0.6,
'/',f0.6,
'/',sp,f0.6,
'/',f0.6,
163 * ss,
' -JM',f3.1,
'i -B',f0.6,
'/',f0.6,
':."',
164 *
'NADCON v5.0 ',a,
' minus ',a,
' ',a3,a5,a,
167 *
'-Gblack -K > plot.ps')
193 905
format(
'ps2raster plot.ps -Tj -P -A ')
197 910
format(
'mv -f plot.jpg ',a,
'.',a,
'.jpg',/,
201 1910
format(
'mv -f plot.jpg cv',a3,
'.',a,
'.',a,
'.',a,
202 *
'.',a,
'.jpg',/,
'rm -f plot.ps')
subroutine plotcoast(region, ifnum)
Subroutine to write GMT-based commands to create a shoreline Write GMT-based commands to create a sho...
subroutine bwplotcv(ele, fname, bw, be, bs, bn, jm, b1, b2, maxplots, olddtm, newdtm, region, elecap, ij, igridsec, fn)
Subroutine to make GMT calls to do a B/W coverage plot.