gebconetcdf(FILE, Wlon, Elon, Slat, Nlat)
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > NetCDF >
- Sciences > Geoscience > Weather and Atmospheric Science >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.