登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
function wrf_user_ll_to_ij (nc_file, lons, lats, res)
Usage: loc = wrf_user_latlon_to_ij (a, 100., 40., res)
Usage: loc = wrf_user_latlon_to_ij (a, (/100., 120./), (/40., 50./), res) Convert a lon/lat location to the nearest x/y location. This function makes use of map information to find the closest point, so this returned value may potentially be outside the model domain. lons/lats can be scalars or arrays. Optional resources:
res@returnInt - If set to False, the return values will be real (default is True with integer return values)
res@useTime - Default is 0. Set if want the reference longitude/latitudes must come from a specific time - one will only use this for moving nest output which has been stored
请问如果我把很多时次放在一个文件里了。然后想要看其中某个时次的某个经纬度是在第几个格点上应该怎么写啊? 我是按照官网上面的设置: llres=True llres@ReturnInt = True llres@UseTime = 24 locij=wrf_user_ll_to_ij(f,100.0,20.0,llres)-1 结果发现locij算出的还是第一个时次的值。我想要这个文件中第24个时次的结果,求大神指教
|