Fortran-90 MODULE MODGCTP

Summary

I/O API Version 3.2 and later, only !!

INTERFACE-block for GTPZ0(), the US Geological Survey National Mapping Division's General Cartographic Transformation Package (GCTP) main routine

Various routines that use GTPZ0():

M3TOGTPZ():
GTPZ0-argument initialization procedure
SETSPHERE(), 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() and UTM2LL():
Single-precision/single-point UTM to/from-LatLon coordinate-transform routines
Note that for backwards-compatibility both MODULE M3UTILIO and MODULE MODGCTP declare routines SETSPHERE(), INITSPHERES(), SPHEREDAT(). If you USE both of these modules for these routines, you must re-name the M3UTILIO version in the following fashion:
    USE M3UTILIO, M3U_INITSPHERES => INITSPHERES,   &
                  M3U_SETSPHERE   => SETSPHERE,     &
                  M3U_SPHEREDAT   => SPHEREDAT
        

PARAMETERs for GCTP spheroid names and indices

INTEGER, PARAMETER :: STDSPHERES( 0:21 )
subscripts for SPHERENAMES below.
INTEGER, PARAMETER :: SPHERENAMES( 0:21 ) =
  1. Clarke 1866
  2. Clarke 1880
  3. Bessel
  4. New International 1967
  5. International 1909
  6. WGS 72
  7. Everest
  8. WGS 66
  9. GRS 1980
  10. Airy
  11. Modified Everest
  12. Modified Airy
  13. WGS 84
  14. Southeast Asia
  15. Australian National
  16. Krassovsky
  17. Hough
  18. Mercury 1960
  19. Modified Mercury 1968
  20. Normal Sphere, R_Earth=6370997
  21. Normal Sphere (MM5 / WRF-ARW) R=6370000
  22. 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 USGS
Old-style bilinear and sparse matrix routines
BMATVEC and BILIN,
DMATVEC,
SMATVEC, and
UNGRIDB
and m3tools programs
latlon,
m3cple,
m3interp,
mtxblend,
mtxbuild,
mtxcalc,
mtxcple, and
projtool

Up: Coordinate and Grid Related Routines

To: Models-3/EDSS I/O API: The Help Pages

Send comments to

Carlie J. Coats, Jr.
carlie@jyarborough.com