getDepth(latitude, longitude)

版本 1.1.0.0 (5.3 KB) 作者: Josiah Renfree
Obtain seabed depth at any location using high-resolution GMRT database
249.0 次下载
更新时间 2018/6/27

查看许可证

DEPTH = GETDEPTH(LATITUDE, LONGITUDE) estimates the seabed depth DEPTH at specified coordinate(s). LATITUDE and LONGITUDE coordinates can either be numeric arrays specifying decimal degrees or cell arrays of strings specifying degrees, minutes, and seconds or GPS degrees. DEPTH is returned in meters, where negative values correspond to depths below sea level.
If LATITUDE and LONGITUDE are cell arrays of strings, the hemisphere designator (N/S/E/W) must prepend the location (e.g. 'N 37 23 30') and all values must be separated by spaces.
This function uses the Marine Geoscience Data System website to obtain seabed estimates from their Global Multi-Resolution Topography (GMRT) dataset. Thus, an Internet connection is required.
Examples:

getDepth(32.930667, -117.3175)
getDepth('N 32 55 50', 'W 117 19 3')
getDepth('N 32 55.84', 'W 117 19.05')
getDepth([33.52 35.14], [-119.88 -123.35])
getDepth({'N 33 31.2' 'N 35 8.4'}, {'W 119 52.8' 'W 123 21.0'})
getDepth({'N 33 31 12' 'N 35 8 24'}, {'W 119 52 48' 'W 123 21 0'})

引用格式

Josiah Renfree (2024). getDepth(latitude, longitude) (https://www.mathworks.com/matlabcentral/fileexchange/57174-getdepth-latitude-longitude), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Oceanography and Hydrology 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

GMRT website changed, so had to update URL. Also changed urlread() to webread(), as recommended by Matlab

1.0.0.0

Updated the function description
Updated function description