List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract
MTK_CREATE_LATLON creates latitudes and longitudes 2-D data plane buffers given mapinfo structure.
-Copyright
Copyright (2005), California Institute of Technology.
U.S. Government sponsorship acknowledged.
-I/O
Given:
mapinfo map info structure
the call:
status = MTK_CREATE_LATLON( mapinfo, latbuf, lonbuf )
returns:
status 0 on success; otherwise failure
latbuf 2-D latitude buffer
lonbuf 2-D longitude buffer
-Examples
;;
;; Set up input parameters
;;
path = 37
resolution = 1100
lat = 66.0
lon = -89.0
lat_extent = 1.5
lon_extent = 1.0
status = MTK_SETREGION_BY_LATLON_EXTENT( lat, lon, lat_extent, lon_extent, "degrees", region )
status = MTK_SNAP_TO_GRID( path, resolution, region, mapinfo )
status = MTK_CREATE_LATLON( mapinfo, latbuf, lonbuf )
;;
;; Output...
;;
print, 'path : ', path
print, 'resolution : ', resolution
print, '================================================='
help, latbuf, lonbuf
IDL outputs:
path : 37
resolution : 1100
=================================================
LATBUF DOUBLE = Array[112, 160]
LONBUF DOUBLE = Array[112, 160]
-Particulars
None.
-Required Reading
For important details concerning this module's function, please refer to
the MTK routine MtkCreateLatLon.c.
-Version
-IDL-MTK Version 1.2.0