69 subroutine coplotwcv(ele,fname,bw,be,bs,bn,jm,b1,b2,maxplots,
70 *olddtm,newdtm,region,elecap,ij,cptlo,cpthi,cptin6,suffixused,
138 implicit real*8(a-h,o-z)
144 character*3 ele,elecap
145 character*200 fname,cvfname
146 character*10 olddtm,newdtm,region
147 real*8 bw(maxplots),be(maxplots),bs(maxplots),bn(maxplots)
149 real*4 b1(maxplots),b2(maxplots)
150 character*10 fn(maxplots)
152 character*200 suffixused
154 character*20 gridnote
155 character*20 gridnote2
160 if(.not.(fname(1:3).eq.
'vmt'.or.fname(1:3).eq.
'vst' .or.
161 * fname(1:3).eq.
'vmr'.or.fname(1:3).eq.
'vsr'))
then 162 write(6,2)trim(fname)
165 2
format(
'FATAL in coplotwcv. Bad character in spots 1-3: ',a)
167 if(.not.(fname(4:5).eq.
'cd' .or. fname(4:5).eq.
'dd'))
then 168 write(6,3)trim(fname)
171 3
format(
'FATAL in coplotwcv. Bad character in spots 4-5: ',a)
173 if(fname(6:8).ne.ele)
then 174 write(6,4)trim(fname),ele
177 4
format(
'FATAL in coplotwcv. Bad match of fname / ele: ',a,1x,a)
179 if(fname(2:2).eq.
'm')
then 181 elseif(fname(2:2).eq.
's')
then 184 write(6,5)trim(fname)
187 5
format(
'FATAL in coplotwcv. Bad units in name: ',a)
189 if(igridsec.le.0)
then 192 write(gridnote,10)igridsec
193 write(gridnote2,11)igridsec
195 6
format(
'FATAL in coplotwcv. Bad igridsec: ',i0)
196 10
format(
'(',i0,
' sec)')
224 write(99,991)ele,trim(units),trim(region),trim(fn(ij)),
226 *ele,trim(units),trim(region),trim(fn(ij)),
235 write(99,901)cptlo,cpthi,cptin
256 *
'gmtset D_FORMAT %.12G',/,
257 *
'makecpt -Crainbow -T',f0.10,
'/',f0.10,
'/',f0.10,
259 *
'gmtset D_FORMAT %.3G')
270 *
'grdgradient ',a,
'.',a,
271 *
'.grd -N4.8 -A90 -M -Gtempi.grd')
278 write(99,903)fname(1:8),trim(suffixused),
279 *bw(ij),be(ij),bs(ij),bn(ij),
280 *jm(ij),b1(ij),b2(ij),
281 *trim(newdtm),trim(olddtm),elecap,igridsec,
282 *trim(region),trim(fn(ij)),
'method noise' 317 *
'grdimage ',a,
'.',a,
'.grd',
319 *
' -R',f0.6,
'/',f0.6,
'/',f0.6,
'/',f0.6,
320 *
' -JM',f3.1,
'i -B',f0.6,
'/',f0.6,
321 *
':."NADCON v5.0 ',a,
' minus ',a,
' ',a3,
324 *
':" -Ctemp.cpt -K > plot.ps')
335 write(99,904)qqa,trim(units)
338 *
'psscale -D',f3.1,
'i/-0.4i/4.0i/0.2ih',
339 *
' -Ctemp.cpt -I0.4 -B/:',a,
340 *
': -O -K >> plot.ps')
350 ll = len(trim(suffixused))
351 if(suffixused(ll-1:ll).eq.
'd3')
goto 807
352 if(suffixused(ll-1:ll).eq.
'09')
goto 807
353 if(fname(3:5).eq.
'ete')
goto 807
356 write(99,908)fname(1:8),trim(suffixused)
369 *
'grdcontour ',a,
'.',a,
'.grd',
373 *
' -A- -O -K >> plot.ps')
400 if(suffixused(ll-1:ll).eq.
'd3' .and. ij.eq.1)
goto 808
401 if(suffixused(ll-1:ll).eq.
'09' .and. ij.eq.1)
goto 808
402 if(fname(3:5).eq.
'ete' .and. ij.eq.1)
goto 808
405 write(99,909)trim(cvfname)
408 *
'psxy ',a,
' -R -J -Sc0.02i -Gblack -O -K >> plot.ps')
420 *
'ps2raster plot.ps -Tj -P -A')
423 write(99,906)fname(2:8),trim(suffixused),trim(fn(ij))
424 906
format(
'mv plot.jpg c',a,
'.',a,
'.',a,
'.jpg')
441 *
'# -----------------------------------------------------',/,
442 *
'# color plots with coverage in ',a,1x,a,1x,a,1x,a,
444 *
'# -----------------------------------------------------',/,
445 *
'echo ...color plots with coverage in ',a,1x,a,1x,a,1x,a,
subroutine coplotwcv(ele, fname, bw, be, bs, bn, jm, b1, b2, maxplots, olddtm, newdtm, region, elecap, ij, cptlo, cpthi, cptin6, suffixused, igridsec, fn, cvfname)
Subroutine to make GMT calls to do a color raster rendering of gridded data, with coverage overlaid...
subroutine plotcoast(region, ifnum)
Subroutine to write GMT-based commands to create a shoreline Write GMT-based commands to create a sho...