<div dir="ltr"><div>[1] You should ask the WRF post-processor developers.</div><div><br></div><div>[2] The argument order is up to the developer. While the lack of consistency in the 'lat/lon' argument order is a bit of a nuisance, it is not important if the function works properly 'under-the-hood'.</div><div><br></div><div>[3] **Possibly** one developer was looking from a fortran (column-major) perspective and the other from a 'C' (row major) perspective.</div><div><br></div><div> x(mlon,nlat,ntime) ==> Fortran [column-major]<br></div><div> x(ntime,nlat,mlon) ==> 'C' (NCL) [row-major] <br></div><div><br></div><div>See: Section 7.7 of NCL's <a href="http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf" target="_blank"><b>Mini-Language Manual</b></a><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 2, 2019 at 9:15 AM Borja Sas González via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi. I have a doubt. When I use the following WRF function.</div><div><br></div><div>The order in which I indicate the variables is the first longitude and then latitude, that is, first the X and then the Y.</div><div dir="ltr"><br></div>wrf_user_ll_to_xy(file,lon,lat,opt)</div><div dir="ltr"><br><div>But when I use another function and want to print the data at the point I want, first is latitude and then longitude (first Y and then X)? Example:</div><br>psfc = wrf_user_getvar(file,"slp",-1)<br>print(slp(time,lat,lon))</div><div dir="ltr"><br></div><div dir="ltr">-- <br><div dir="ltr">Borja Sas González</div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>