<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear NCL Community,
<div class="moz-forward-container">
<div class="moz-forward-container">
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">I am writing
for a wrf_usr_ll_to_ij problem. I am trying to extract
stations within WRF domain 01, and converting lat/lon to i/j.
However, I found the i/j are not correctly converted, since
XLAT(i,j), XLONG(i,j) are not the same as the original
lat/lon.</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">For example,
the first line in file (2)
REP-SITE-LIST-LAT-LON-XY-REVISED-ECO.TXT attached:</p>
<p style="margin-bottom: 0in; line-height: 100%"><font
style="font-size: 10pt" size="2">ID LAT LON I J I_MAX-I
J_MAX-J LON_S LAT_S LAT_R LON_R LAT_R’ LON_R’ </font> </p>
<p style="margin-bottom: 0in; line-height: 100%"><font
style="font-size: 10pt" size="2">52101 43.44 93.04 2 67 59
23 92.87 43.52 26.06 115.21 42.11 101.25</font></p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">To verify the
I,J calculated, three pairs of lat/lon are reconstructed as
follows:</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><font
style="font-size: 10pt" size="2">LAT_S/LON_S are calculated
from wrf_usr_ij_to_ll(J,I)</font></p>
<p style="margin-bottom: 0in; line-height: 100%"><font
style="font-size: 10pt" size="2">LAT_R/LON_R are calculated
from XLAT(I,J), XLONG(I,J)</font></p>
<p style="margin-bottom: 0in; line-height: 100%"><font
style="font-size: 10pt" size="2">LAT_R’/LON_R’ are
calculated from XLAT(I_MAX-I,J_MAX-J),
XLONG(I_MAX-I,J_MAX-J)</font></p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Any indication
is appreciated. Thanks.</p>
<p style="margin-bottom: 0in; line-height: 100%">LSL<br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">P.S. Three
fiels are attached:</p>
<p style="margin-bottom: 0in; line-height: 100%">(1)extract_list_CMA_sites_within_WRF_D01_latlon_XY_VERSION001.ncl
--extraction code</p>
<p style="margin-bottom: 0in; line-height: 100%">(2)PREP-SITE-LIST-LAT-LON-XY-REVISED-ECO.TXT
--extraction results</p>
<p style="margin-bottom: 0in; line-height: 100%">(3)SURF_CLI_CHN_MUL_DAY-PRE-13011-SITE-LIST.TXT
--CMA station list (with lat/lon)</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">(4)wrfout_d01.nc
--wrfout file, big as 8.4M, not attached<br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">
<style type="text/css">p { margin-bottom: 0.1in; line-height: 115%; }</style>
</p>
<style type="text/css">p { margin-bottom: 0.1in; line-height: 115%; }</style>
<p>
<style type="text/css">p { margin-bottom: 0.1in; line-height: 115%; }</style></p>
</div>
</div>
</body>
</html>