gebconetcdf(FILE, Wlon, Elon, Slat, Nlat)

Version 1.3.0.0 (2.29 KB) by Bryan
Retrieves bathymetry data from the GEBCO NetCDF file
830 Downloads
Updated Fri, 03 May 2019 11:33:32 +0000

View License

Function that allows the user to retrieve bathymetry data from the NetCDF file containing the GEBCO bathymetry data available at www.gebco.net. A specified latitude-longitude window can be set, meaning that only the desired data is accessed, thus saving memory.
Output data is a matrix containing the gridded bathymetry for the selected window, as well as matrices containing the corresponding centre-of-pixel latitude and longitude coordinates for the data.

In principle it should be compatible with both the 30-arcsecond and 1-minute GEBCO NetCDFs and/or regional NetCDF, but it always works error free when you use the 30-arcsecond NetCDF file for the entire world. (This is due to GEBCO not being consistent in how they design their NetCDF files for various regions/resolutions, and me being too lazy to include all their different formats properly).

Cite As

Bryan (2024). gebconetcdf(FILE, Wlon, Elon, Slat, Nlat) (https://www.mathworks.com/matlabcentral/fileexchange/46669-gebconetcdf-file-wlon-elon-slat-nlat), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

updated description

1.2.0.0

updated documentation

1.1.0.0

Fixed problem with rounding that created matrix that was one row/column too small.

1.0.0.0