首页 > 其他 > 详细

MeteoInfoLab脚本示例:MERRA HDF数据

时间:2015-07-08 10:51:33      阅读:606      评论:0      收藏:0      [点我收藏+]

MERRA是NOAA的一种再分析资料,HDF数据遵循COARDS协议,读取比较简单。

脚本程序:

#Add data file
folder = D:/Temp/hdf/
fns = MERRA300.prod.assim.tavg1_2d_slv_Nx.20150101.SUB.hdf
fn = folder + fns
f = addfile(fn)
vname = t2m
t = f[vname]
t2m = t[0,:,:]
#Plot
axesm()
mlayer = shaperead(D:/Temp/map/country1.shp)
geoshow(mlayer)
layer = imshowm(t2m, 20)
colorbar(layer, orientation=horizontal)
title(vname +  at time=0)
axism()

技术分享

MeteoInfoLab脚本示例:MERRA HDF数据

原文:http://www.cnblogs.com/yaqiang/p/4629389.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!