Be the first to rate this file! 38 downloads (last 30 days) File Size: 21.48 KB File ID: #19758

Read Global Topographic Data

by Zhigang Xu

 

29 Apr 2008 (Updated 07 May 2008)

Code covered by BSD License  

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

Download Now | Watch this File

File Information
Description

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!

MATLAB release MATLAB 7.6 (R2008a)
Zip File Content  
HTML Files Readme:
Other Files license.txt,
Read_Topo_pack_v2/read_etopo2v2g_f4_nc_v1.m,
Read_Topo_pack_v2/read_etopo2v2g_f4_nc_v2.m,
Read_Topo_pack_v2/read_GridOne_v1.m,
Read_Topo_pack_v2/read_GridOne_v2.m,
Read_Topo_pack_v2/Readme.doc,
Read_Topo_pack_v2/Readme.pdf
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
10 Jun 2008 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.

Please login to add a comment or rating.
Updates
07 May 2008

New versions of the programs, read_GridOne_v2 and read_etopo2v2g_f4_nc_v2, are made for addressing the 180-meridian data disagreement problem and the for the computers without large RAM in reading out the one-minute global data.

Tag Activity for this File
Tag Applied By Date/Time
etopo2 Zhigang Xu 22 Oct 2008 09:59:34
gebco Zhigang Xu 22 Oct 2008 09:59:34
topographic data Zhigang Xu 22 Oct 2008 09:59:34
functions Zhigang Xu 22 Oct 2008 09:59:34
earth sciences Zhigang Xu 22 Oct 2008 09:59:34
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com