[ncl-talk] issue with wrf_user_ll_to_ij

Wang,Yu wangyu8722 at ufl.edu
Tue Jan 24 10:30:35 MST 2017


To whom it may concern,


I am trying to use this function wrf_user_ll_to_ij on a moving nested domain but found things problematic for moving nested domains. Here is the prototype of this function:

        function wrf_user_ll_to_ij (
                file_handle  : file or list [list added in V6.0.0],
                lon          : numeric,
                lat          : numeric,
                opt          : logical
        )

The first statement is the file that needed to be handled. But for a nested domain output, each time step has a different domain region. Then how do we represent each time step for this first statement? For example. I have this file wrfout_d02_2005-08-20_18:00:00 which include 12-time steps . When I want to extract one certain point from all the time steps, how do I define the first statement?
For example, if

a = addfile("./wrfout_d02_2005-08-20_18:00:00.nc","r")

for i=0,11

  wrf_user_ll_to_ij(a(i), lon, lat, True)

This way of extracting the ith time step of the output file is not correst. Then what should I do?

Thanks forany help.

Best,

Yu Wang


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170124/5978eb5a/attachment.html 


More information about the ncl-talk mailing list