[ncl-talk] issue with wrf_user_ll_to_ij

Wang,Yu wangyu8722 at ufl.edu
Mon Jan 30 13:58:51 MST 2017


Thank you so much for your help.


Best,


Yu

________________________________
From: ncl-talk-bounces at ucar.edu <ncl-talk-bounces at ucar.edu> on behalf of Bill Ladwig <ladwig at ucar.edu>
Sent: Tuesday, January 24, 2017 2:45:51 PM
To: Wang,Yu
Cc: NCL
Subject: Re: [ncl-talk] issue with wrf_user_ll_to_ij

Hi Yu,

There is a useTime value you can set in the opt argument.  See:

http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_ll_to_ij.shtml

opt = True
opt at useTime = 2

Then pass this as the last argument to wrf_user_ll_to_ij.

Hope this helps,

Bill

On Jan 24, 2017 9:30 AM, "Wang,Yu" <wangyu8722 at ufl.edu<mailto:wangyu8722 at ufl.edu>> wrote:

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<http://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



_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170130/7017b2ab/attachment.html 


More information about the ncl-talk mailing list