- 积分
- 3367
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-4-12
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
请问大家下,我想从t1中筛选部分数据放到tt1中(t1中有缺测数据),以便画图使用,用的是以下循环语句
tt1= new((/73,144/),float)
tt1@_FillValue=9.96921e+36
do i=0,72,1
do j=0,143,1
if (t1(i,j).ge.2.1.or.t1(i,j).le.-2.1) then
tt1(i,j)=t1(i,j)
else if (t(i,j).eq.ismissing(t1)) then
tt1(i,j)=t1(i,j)
else if (t1(i,j).gt.-2.1.and.t1(i,j).lt.2.1) then
tt1(i,j)=tt1@_FillValue
end if
end if
end if
end do
end do
但总报错The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function,我去官网看了也不懂是哪里有问题,还望各位指点!
|
评分
-
查看全部评分
|