MODULE MODGCTP
I/O API Version 3.2 and later, only !!
INTERFACE
-block forGTPZ0()
, the US Geological Survey National Mapping Division's General Cartographic Transformation Package (GCTP) main routineVarious routines that use
GTPZ0()
:Note that for backwards-compatibility both
M3TOGTPZ()
:GTPZ0
-argument initialization procedureSETSPHERE(), INITSPHERES(), SPHEREDAT()
:- GTPZ0-spheroid initialization procedures
GRID2XY()
:- Generic grid-cell-center-to-XY or boundary-cell-center coordinate transform procedure
XY2XY()
:- Scattered-point-array-to-XY generic coordinate-transform procedure
GRID2INDX(), PNTS2INDX(), and INDXMULT()
:- Bilinear interpolation package (optimized, OpenMP parallel)
INITPROJ(), ..., ALB2EQM()
:- Single-precision/single-point/specific-projection coordinate-transform functions
LL2UTM()
andUTM2LL()
:- Single-precision/single-point UTM to/from-LatLon coordinate-transform routines
MODULE M3UTILIO
andMODULE MODGCTP
declare routinesSETSPHERE(), INITSPHERES(), SPHEREDAT()
. If youUSE
both of these modules for these routines, you must re-name theM3UTILIO
version in the following fashion:USE M3UTILIO, M3U_INITSPHERES => INITSPHERES, & M3U_SETSPHERE => SETSPHERE, & M3U_SPHEREDAT => SPHEREDAT
PARAMETER
s for GCTP spheroid names and indices
INTEGER, PARAMETER :: STDSPHERES( 0:21 )
- subscripts for
SPHERENAMES
below.INTEGER, PARAMETER :: SPHERENAMES( 0:21 ) =
- Clarke 1866
- Clarke 1880
- Bessel
- New International 1967
- International 1909
- WGS 72
- Everest
- WGS 66
- GRS 1980
- Airy
- Modified Everest
- Modified Airy
- WGS 84
- Southeast Asia
- Australian National
- Krassovsky
- Hough
- Mercury 1960
- Modified Mercury 1968
- Normal Sphere, R_Earth=6370997
- Normal Sphere (MM5 / WRF-ARW) R=6370000
- Normal Sphere (WRF-NMM) R=6371200
Here is the source code for some sample m3tools programs that use routines from
MODULE MODGCTP
:
- latlon:
GRID2XY(), XY2XY()
(with hard-coded Lat-Lon output)- m3cple:
GRID2INDX(), INDXMULT()
- mtxcalc:
GRID2XY()
See also
"Raw" Coordinate-coordinate conversion routines:
GCTP package from USGSOld-style bilinear and sparse matrix routines
and m3tools programsBMATVEC and BILIN
,
DMATVEC
,
SMATVEC
, and
UNGRIDB
latlon,
m3cple,
m3interp,
mtxblend,
mtxbuild,
mtxcalc,
mtxcple, and
projtool
To: Models-3/EDSS I/O API: The Help Pages
Send comments to
Carlie J. Coats, Jr.
carlie@jyarborough.com