Four Matlab functions to extract the data from two global topographic data base, ETOPO2v2 and GEOBEC.
Four Matlab functions are provided to extract the data from two global topographic data base, ETOPO2v2 and GEOBEC. Functions, read_etopo2v2g_f4_nc_v*.m, extract the data from the netcdf file
ETOPO2v2g_f4.nc which is available from http://www.ngdc.noaa.gov/mgg/global/relief/ETOPO2/ETOPO2v2-2006/ETOPO2v2g/netCDF/. The other functions, read_GridOne_v*.m, extract the data from GridOne.grd available from http://www.bodc.ac.uk/data/online_delivery/gebco/. You need to put the downloaded files in your matlab path. You will also need a netcdf reader, developed by Paul Spencer and available from the matlab central file exchanger. For your convenience, I have included it in this package (renamed as netcdf_PaulSpencer, since I have had another netcdf function already). The outputs both functions are [LON LAT HH]. You may wish to have a quick look at the data by matlab command contour(LON(1:60:end), LAT(1:60:end), HH(1:60:end, 1:60:end)). Have fun!