File Exchange

image thumbnail

Bedmap2 Toolbox for Matlab

version 4.6.3 (8.68 MB) by Chad Greene
Get Bedmap2 data into Matlab. Several tools for data access, interpolation, and plotting.


Updated 23 Nov 2019

View License

Check the Examples tab above for function contents, syntax, and examples ^ ^.

Bedmap2 is a 1 km resolution dataset of Antarctic surface, ice thickness, and bed topography. Details about Bedmap2 can be found here: This set of functions is a plugin for Antarctic Mapping Tools (Greene et al., 2017).

Fretwell, P., et al. "Bedmap2: improved ice bed, surface and thickness datasets for Antarctica." The Cryosphere 7.1 (2013).

Chad A. Greene, David E. Gwyther, and Donald D. Blankenship. Antarctic Mapping Tools for Matlab. Computers & Geosciences. 104 (2017) pp. 151-157

Cite As

Fretwell, P., et al. “Bedmap2: Improved Ice Bed, Surface and Thickness Datasets for Antarctica.” The Cryosphere, vol. 7, no. 1, Copernicus GmbH, Feb. 2013, pp. 375–93, doi:10.5194/tc-7-375-2013.

View more styles

Greene, Chad A., et al. “Antarctic Mapping Tools for Matlab.” Computers & Geosciences, vol. 104, Elsevier BV, July 2017, pp. 151–57, doi:10.1016/j.cageo.2016.08.003.

View more styles

Comments and Ratings (4)

zhang bo

Jonas Liebsch

Mark Brandon

This is great. Thanks so much Chad.

Peter Gorham



Updated description


Updated Live Scripts


Added live scripts

Just a few documentation updates. No changes in functionality.

Mostly documentation updates. Also, grounding line data is now included in this toolbox, which removes the Image Processing Toolbox requirement and eliminates the need to run an install script.

Plotting bedmap2('gl',...'xy') and bedmap2('coast',...'xy') are now much faster. Also fixed a bug where bedmap2_data was calling the rock mask when user requested Vostok mask.

bedmap2_data now returns double precision.

Added bedmap2_dist function.

Fixed some bugs in bedmap2_profile.

Updated contouring in the bedmap2 plotting function. Contouring now follows Matlab's contouring syntax.

Minor bug fix in bedmap2_profile.

Switch to tiff-based data, reduced dependence on Mapping Toolbox, much faster data loading and plotting, addition of bedmap2_profile.

Version 3.0.

Adapted into a plugin for the Antarctic Mapping Tools package.

v2.30: Added support for WGS84 elevations; added cubic, spline, and nearest-neighbor interpolation; changed default contour colors from blue to black, added colorbar location options.

Typo fixes in the header files. Functionality unchanged.

Removed dependency on deg2rad and rad2deg. Added examples in documentation.

v2.25: improved install error handling, changed default inset frame setting in bedmap2_zoom, documentation edits.

Fixed a bug in bedmap2_interp, expanded documentation, increased robustness of install scripts.

fixed a typo in bedmap2_interp

Added drainage basins and ASAID grounding lines.

Several added features: scalebar, scarlabel, zoom, contouring, just to name a few.

Fixed an error relation to pixel reference location. If you used a previous version, be sure to rerun bedmap2_runfirst.m using Version 1.2 or later.

v1.01: Edited Example 9 and added Example 10.

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