<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple style='word-wrap: break-word;
-khtml-nbsp-mode: space;-khtml-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I must retract my cry for help! I
found the problem, and it was “self-induced” by part of my
processing stream that adds a new attribute to the WRF output NetCDF
files. It turned out that occasionally my script was adding this
attribute before WRF had closed the file. Sorry if I got anybody else
worried over this!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Best regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Brent<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> wrfhelp
[mailto:wrfhelp@ucar.edu] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, July 21, 2007 5:27
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Brent L Shaw<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: WRF NetCDF I/O
XLAT/XLONG Shifted</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Sorry, Brent. But we have not seen this. <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>wrfhelp<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Jul 20, 2007, at 9:44 AM, Brent L Shaw wrote:<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'><span style='border-spacing: 0px 0px;
text-align:auto;-khtml-text-decorations-in-effect: none;-apple-text-size-adjust: auto;
orphans: 2;widows: 2;word-spacing:0px'>Hello all,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Arial; font-size: 13.3333px; "><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>Today, one of our
real-time runs experienced a somewhat random error today. In one of the
output files (specifically, the 8-hour forecast file [we write out 1 frame per
file]), some sort of “memory shift” apparently took place when writing
the NetCDF file. What happened is that the last few elements of the XLAT
array had some of the first few elements from the XLONG array at the end, and
the end of the XLONG array has some of the XLAT values at the end. I
included snippets of the end of these ncdumps below so you can see what I
mean. I only discovered this because when animating some products
from this run on GEMPAK, this one particular forecast hour was shifted.
The problem only occurred in this one output file. <O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Arial; font-size: 13.3333px; "><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>I saved all of the input
data and reran the case manually with exactly the same executable, same compute
nodes, etc. This time that file was correct, so it appears to have been a
random event (which scares me even more). Has anyone else ever seen
something like this happen? <O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Arial; font-size: 13.3333px; "><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>In case it matters, this
was done with the RSL_LITE DM with nesting version of WRF 2.2, compiled with
MPICH 1.2.7p1 built with pgf90 and pgcc (version 7.0-5) running on an x86_64
AMD Opteron-based Linux cluster. The run was done using 5 processors (4
for domain decomposition and 1 I/O node). <O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Arial; font-size: 13.3333px; "><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>Best regards,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Arial; font-size: 13.3333px; "><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>Brent Shaw<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Arial; font-size: 13.3333px; "><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'><Last snipped of
ncdump –v XLAT><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>55.68303, 55.63144,
55.57923, 55.52641, 55.47297, 55.41893, 55.36428,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
55.30902, 55.25315, 55.19668, 55.13961, 55.08193, 55.02365, 54.96478,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
54.90531, 54.84525, 54.78459, 54.72334, -123.3628, -123.1758, -122.9887,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
-122.8014, -122.6139, -122.4263, -122.2386, -122.0506, -121.8626,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
-121.6743, -121.486, -121.2974, -121.1088 ;<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Arial; font-size: 13.3333px; "><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'><Last snippet of
ncdump –v XLONG><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>-78.80542, -78.49875,
-78.19275, -77.88736, -77.58264, -77.27859,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
-76.97522, -76.67249, -76.37045, -76.06909, -75.7684, -75.46841,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
-75.16913, -74.87051, -74.57263, -74.27542, 20.44331, 20.4799, 20.51613,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
20.55199, 20.58751, 20.62265, 20.65743, 20.69184, 20.72591, 20.75959,<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>
20.79292, 20.82587, 20.85846 ;<O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></span></font></span><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
class=apple-style-span><O:P style="font-family: Times New Roman; font-size: 16px; "><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;
color:black'> </O:P></span></font></span><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 color=black face=Helvetica><span
style='font-size:10.5pt;font-family:Helvetica;color:black'><br>
<br>
</span></font><o:p></o:p></p>
</div>
</span>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>