- 积分
- 32399
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-12-11
- 最后登录
- 1970-1-1
|
NCL
系统平台: |
|
问题截图: |
- |
问题概况: |
我看有些脚本改了,有些没改 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
2 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 chongzika 于 2015-7-16 09:28 编辑
[img]file:///C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\Temp\[5UQ[BL(6~BS2JV6W}N6[%S.png[/img]http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/SPECIAL/wrf_meteo_5.ncl
Find the ij location for the point if interest lat = 32.5 lon = -87. llres = True llres@ReturnInt = True ; Return integer values locij = wrf_user_ll_to_ij(a, lon, lat, llres) locij = locij - 1 ; array pointers in NCL space locX = locij(0) locY = locij(1)[img]file:///C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\Temp\[5UQ[BL(6~BS2JV6W}N6[%S.png[/img]http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_ll_to_ij.shtml的例子1也减了
opt = True loc = wrf_user_ll_to_ij(a,(/minlon,maxlon/),(/minlat,maxlat/),opt) loc = loc-1 ; To convert to NCL subscripts如果精度不高的话差别可能还蛮大的吧。但是有些例子好像并没有考虑ncl的下标是从0开始的
|
|