Read Global Topographic Data

by

 

29 Apr 2008 (Updated )

Two Matlab functions to extract the data from two global topographic data base, ETOPO2v2 and GEOBEC.

[LON LAT HH]=read_etopo2v2g_f4_nc
function [LON LAT HH]=read_etopo2v2g_f4_nc
% Read ETOPO2v2g data
%
GD=netcdf_PaulSpencer('ETOPO2v2g_f4.nc'); 
LON=double(GD.VarArray(1).Data);
LAT=double(flipud(GD.VarArray(2).Data));
 HH=double(flipud(GD.VarArray(3).Data));
 
 %% ETOPO2v2g_f4.nc can be downloaded from 
 % http://www.ngdc.noaa.gov/mgg/global/relief/ETOPO2/ETOPO2v2-2006/ETOPO2v2g/netCDF/

Contact us