爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7084|回复: 2

求帮助,NCL差值语句linint2_Wrap怎么差经纬度都是二维的三级网格?

[复制链接]
发表于 2015-4-29 15:56:13 | 显示全部楼层 |阅读模式

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

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

x
小弟我对模式数据进行差值,temp = linint2_Wrap(lon,lat,temp1(z_t|:,time|:,nlon|:,nlat|:),Ture,lon1,lat1)
其中lon,lat都是[nlat|384]*[nlon|320]的矩阵,lon1,lat1都是一维的。请问我每次差值都说我输入的lon不能是二维的,请问怎么解决?
我看原文有这么一句才敢把二维的lon,lat加进去……
If xi is a multi-dimensional array, then each nxi subsection of xi must be monotonically increasing, but may be unequally spaced. All but its rightmost dimension must be the same size as all but fi's rightmost two dimensions.
万分感谢!!
密码修改失败请联系微信:mofangbao
发表于 2015-4-29 19:09:03 | 显示全部楼层
1、是插值,非差值;
2、是True,非Ture;
3、注意插值函数的基本要求。

linint2_Wrap
Interpolates from a rectilinear grid to another rectilinear grid using bilinear interpolation, and retains metadata.

rcm2rgrid_Wrap
Interpolates data on a curvilinear grid (i.e. RCM, WRF, NARR) to a rectilinear grid and retains metadata.

密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

 楼主| 发表于 2015-5-5 15:56:48 | 显示全部楼层
longlivehj 发表于 2015-4-29 19:09
1、是插值,非差值;
2、是True,非Ture;
3、注意插值函数的基本要求。

谢谢啦,新人老犯迷糊……
我已经弄好啦,找了个pop模式自带的Poplatlon,解决了温度的插值,但是关于PopLatLonV还是用不了,我用map_gx1v5_to_T62_aave_da_061230.nc总是报错显示找不到 rot_gx1v5.nc不知道大神有没有碰到过这种问题……

另外对我这么晚才看到回复表示抱歉……不是我不理人,实在是不大会用论坛,不知道自己的帖子在哪找……刚刚看见
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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