File Exchange

image thumbnail

Read Global Topographic Data

version 1.0 (21.5 KB) by

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

10 Downloads

Updated

View License

ETOPO2, GEBCO

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!

Comments and Ratings (2)

Amirhossein

Zhigang Xu

Sorry, actually I forgot to include the netcdf_PaulSpencer in my package. So you need to download it yourself from this center. Search for Paul Spencer and you will find the function NETCDF. After you download it, either you rename it as netcdf_PaulSpencer.m so my pack can work for you without any modification or you change netcdf_PaulSpencer back to netcdf throughout in my package. I thank Mr. Roger Gallou from France for pointing out this negligence to me.

MATLAB Release
MATLAB 7.6 (R2008a)
Acknowledgements

Inspired by: NetCDF reader

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video