爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 8406|回复: 5

[作图] gsn_csm_contour_mp

[复制链接]
发表于 2015-3-28 11:51:40 | 显示全部楼层 |阅读模式

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

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

x
用gsn_csm_counter_mp画图时  出现 fatal:Conditional statements (if and do while) require SCALAR logical values, see all and any functions
fatal:Execute: Error occurred at or near line 2895 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl

fatal:Execute: Error occurred at or near line 3354 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl

fatal:Execute: Error occurred at or near line 5672 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl

fatal:Execute: Error occurred at or near line 6806 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl

fatal:Execute: Error occurred at or near line 9995 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
错误  思索很久 没有想通  求解答  
密码修改失败请联系微信:mofangbao
发表于 2015-3-28 12:09:12 | 显示全部楼层
Conditional statements (if and do while) require SCALAR logical values
密码修改失败请联系微信:mofangbao
发表于 2015-3-28 21:30:54 | 显示全部楼层
楼主问题解决了么
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-3-29 09:01:57 | 显示全部楼层
发现问题的根源是高斯网格数据转换为固定经纬度网格后 变量属性消失  我又将属性重新传递过去  但问题依然存在 所以 继续解决中   


                                只要不断思索 就一定会有答案
密码修改失败请联系微信:mofangbao
发表于 2015-3-30 11:18:39 | 显示全部楼层
看不懂啊,也同问
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-3-31 10:35:52 | 显示全部楼层
又是那隻貓 发表于 2015-3-28 12:09
Conditional statements (if and do while) require SCALAR logical values

问题已解决
错误原因 我在经所有的数据处理完毕 属性设置好之后  在打开wks之前 才load了gsn_code.ncl  gsn_csm.ncl  
解决办法  程序最开始就load gsn_code.ncl  gsn_csm.ncl  
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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