How to create a land/sea mask based on an XYZ bathymetry database?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a gridded global bathymetric database with X, Y, and E. X is longitude, Y is latitude, and E is the elevation. E can be positive numbers (elevation of land, mountains, etc.), or negative numbers (depth of the ocean). They all share the same size of 8640 x 4320.
How do I use this database to create a land/sea mask, i.e., a value of 1 (land) or 0 (sea) for each point on a global grid like the below:
[X, Y] = ndgrid([-180:0.125:180], [-90:0.125:90]);
Any ideas would be greatly appreciated!
Many thanks.
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Oceanography and Hydrology에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!