Program: MKREADTOPO
mkreadtopo........read topo data from file
call: topo=mkreadtopo(mapopt);
mapopt: map options structure as returned by MKMAPOPT
result: topo: structure describing 3D elevation surface
.topo: elevation array, elevations in meter
matrix of elevation values, with topo(1,1) being the
elevation at 0degE, 90degS and topo(end,end) being the
elevation at 360degE, 90degN
.lon: matrix of longitude values corrsponding to .TOPO
.lat: matrix of latitude values corresponding to .TOPO
.maxalt: maximum altitude in file, for use in caxis()
.minalt: minimum altitude in file, for use in caxis()
If the topo file specified in MAPOPT does not contain LON and LAT data,
these are constructed according to range data in MAPOPT.
If lon/lat data in the file is not compatible with .topo_range, new lon/lat
data is constructed as well!
Martin Knapmeyer, 01.07.2003
Read M-File Source Code
eof.