Go to the source code of this file.
|
program | xyz2b |
| Part of the NADCON5 NADCON5 Core Library , Converts GMT *.grd to a *.b NADCON style grid file. More...
|
|
subroutine | put1 (ival, gla, glo, h, nla, nlo, glamn, dgla, glomn, dglo, iclp) |
|
subroutine | put2 (val, gla, glo, z, nla, nlo, glamn, dgla, glomn, dglo, iclip) |
|
subroutine | w1 (lout, h, nla, nlo, glamn, dgla, glomn, dglo) |
|
subroutine | w2 (lout, z, nla, nlo, glamn, dgla, glomn, dglo) |
|
logical function | makpos (glon) |
|
logical function makpos |
( |
|
glon | ) |
|
Definition at line 248 of file xyz2b.f.
253 1
if(glon.lt.0.d0)
then 259 2
if(glon.ge.360.d0)
then logical function makpos(glon)
subroutine put1 |
( |
|
ival, |
|
|
real*4 |
gla, |
|
|
real*4 |
glo, |
|
|
integer, dimension(nla,nlo) |
h, |
|
|
|
nla, |
|
|
|
nlo, |
|
|
|
glamn, |
|
|
|
dgla, |
|
|
|
glomn, |
|
|
|
dglo, |
|
|
|
iclp |
|
) |
| |
Definition at line 181 of file xyz2b.f.
Referenced by xyz2b().
184 implicit double precision(a-h,o-z)
188 i=idnint((gla-glamn)/dgla)+1
189 if(i.lt.1.or.i.gt.nla)
then 193 j=idnint((glo-glomn)/dglo)+1
194 if(j.lt.1.or.j.gt.nlo)
then
subroutine put2 |
( |
real*4 |
val, |
|
|
real*4 |
gla, |
|
|
real*4 |
glo, |
|
|
real*4, dimension(nla,nlo) |
z, |
|
|
|
nla, |
|
|
|
nlo, |
|
|
|
glamn, |
|
|
|
dgla, |
|
|
|
glomn, |
|
|
|
dglo, |
|
|
|
iclip |
|
) |
| |
Definition at line 203 of file xyz2b.f.
Referenced by xyz2b().
206 implicit double precision(a-h,o-z)
207 real*4 z(nla,nlo),val,gla,glo
209 i=idnint((gla-glamn)/dgla)+1
210 if(i.lt.1.or.i.gt.nla)
then 214 j=idnint((glo-glomn)/dglo)+1
215 if(j.lt.1.or.j.gt.nlo)
then
subroutine w1 |
( |
|
lout, |
|
|
integer, dimension(nla,nlo) |
h, |
|
|
|
nla, |
|
|
|
nlo, |
|
|
|
glamn, |
|
|
|
dgla, |
|
|
|
glomn, |
|
|
|
dglo |
|
) |
| |
Definition at line 224 of file xyz2b.f.
Referenced by xyz2b().
227 implicit double precision(a-h,o-z)
231 1
write(lout) (h(i,j),j=1,nlo)
subroutine w2 |
( |
|
lout, |
|
|
real*4, dimension(nla,nlo) |
z, |
|
|
|
nla, |
|
|
|
nlo, |
|
|
|
glamn, |
|
|
|
dgla, |
|
|
|
glomn, |
|
|
|
dglo |
|
) |
| |
Definition at line 236 of file xyz2b.f.
Referenced by xyz2b().
239 implicit double precision(a-h,o-z)
243 1
write(lout) (z(i,j),j=1,nlo)