JerryYe的个人博客分享 http://blog.sciencenet.cn/u/JerryYe

博文

【数据】全球高精度地形数据下载(Sandwell and Smith地形数据)

已有 16671 次阅读 2017-3-29 15:51 |个人分类:数据|系统分类:科研笔记| 地形, 高精度, Sandwell, Smith

1.进入网站http://topex.ucsd.edu/marine_topo/mar_topo.html

2.点击进入数据下载界面

3.设置需要提取的地形数据经纬度范围,由于数据精度比较大, 大范围的数据需要分块进行下载,设置好之后,点击“get data”


4. 将数据拷贝到文本中,例如‘.txt’

【附】Matlab对上述数据进行网格化处理的程序:

clear all;clc

load('E:\Dataprocesstopodatatopo_raw.txt')

Lon=sort(unique(topo_raw(:,1)),'ascend');

Lat=sort(unique(topo_raw(:,2)),'ascend');

lon=repmat(Lon',[length(Lat),1]);

lat=repmat(Lat,[1,length(Lon)]);

for i=1:length(Lat)

   for j=1:length(Lon)

       idx = find(abs(topo_raw(:,1)-lon(i,j))>=0 & abs(topo_raw(:,1)-lon(i,j))<0.009...

                  &abs(topo_raw(:,2)-lat(i,j))>=0 & abs(topo_raw(:,2)-lat(i,j))<0.009);

       topo(i,j)=topo_raw(idx,3);  

   end

end

最终用到的数据变量为:lon, lat, topo.




https://blog.sciencenet.cn/blog-2824237-1042400.html

上一篇:【物理海洋知识】厄尔尼诺&赤道Kelvin波
下一篇:【Matlab】坐标轴的几个设置(不定期更新)
收藏 IP: 219.146.245.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-20 06:13

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部