Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Order in latitude/longitude variables

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

Saszalez

New member
Hi. I have a doubt. When I use the following WRF function.

The order in which I indicate the variables is the first longitude and then
latitude, that is, first the X and then the Y.
Code:
wrf_user_ll_to_xy(file,lon,lat,opt)

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:
Code:
psfc = wrf_user_getvar(file,"slp",-1)
print(slp(time,lat,lon))
 
Top