爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 7155|回复: 0

矢量图与填色图合并

[复制链接]

新浪微博达人勋

发表于 2015-10-11 22:49:33 | 显示全部楼层 |阅读模式
NCL
系统平台:
问题截图: -
问题概况: 合并后没有显示填色图,我的数据用的是wrfout文件对应的u和v,以及t
我看过提问的智慧: 看过
自己思考时长(天): 2

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
参考的脚本是overlay11.ncl
f = addfile("../wrfout_d01_2014-04-21_23:00:00.nc","r")
        ;level = f->lev
        u = f->U(0,0,:,:)
        v = f->V(0,0,:,:)
        t = f->T(0,0,:,:)
错误信息
fatal:VectorFieldInitialize: dimensions of vfUDataArray and vfVDataArray are inconsistent
fatal:Unable to initialize layer-Can't Create
fatal:Unable to access object with id:-4
fatal:Unable to access object with id:-4
warning:Unable to add DataItem "(null)" to DataList "vcVectorFieldData"
fatal:CompileDataList:DataList has no valid members
warning:ContourPlotPreDraw: out of range coordinates encountered; standard AreaFill rendering method may be unreliable;
consider setting the resource trGridType to "TriangularMesh" if coordinates contain missing values
warning:ContourPlotDraw: out of range coordinates encountered; standard AreaFill rendering method may be unreliable;
consider setting the resource trGridType to "TriangularMesh" if coordinates contain missing values

使用其他变量
edust=wrf_user_getvar(a,"EDUST1",-1)+wrf_user_getvar(a,"EDUST2",-1)+wrf_user_getvar(a,"EDUST3",-1)+
wrf_user_getvar(a,"EDUST4",-1)+wrf_user_getvar(a,"EDUST5",-1)
printVarSummary(edust)
u10 = wrf_user_getvar(a,"U10",-1)  ; u at 10 m
v10 = wrf_user_getvar(a,"V10",-1)  ; v at 10 m

警告:
warning:ContourPlotPreDraw: out of range coordinates encountered; standard AreaFill rendering method may be unreliable;
consider setting the resource trGridType to "TriangularMesh" if coordinates contain missing values
warning:ContourPlotDraw: out of range coordinates encountered; standard AreaFill rendering method may be unreliable;
consider setting the resource trGridType to "TriangularMesh" if coordinates contain missing values

后面出的图这样子,没有填色区域呢? wind-EDUST1.PNG




密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表