<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Check your input files &#8216;met_em.d0*&#8217; from WPS and see if they are available for the last day. The easy way to check that is to see if the met_em.d0* file has
 the same size as previous days. I noticed that the interval of your input data is 24 hours, daily. Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feng<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Ehsan Beigi [mailto:ebeigi3@tigers.lsu.edu]
<br>
<b>Sent:</b> Tuesday, May 31, 2011 8:00 PM<br>
<b>To:</b> Feng Liu<br>
<b>Cc:</b> wrfhelp; wrf-users@ucar.edu<br>
<b>Subject:</b> Re: [Wrf-users] read_wrf_nc.f error<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks for your previous help. I tried to run WRF for diffent days by changing the namelist.input , and WRF ran was ok for all of the days except the last day. and everytime i encountered this error, i really
 appreciate your help in advance <br>
<br>
<br>
<br>
Timing for main: time 2011-04-10_00:00:00 on domain&nbsp;&nbsp; 3:&nbsp;&nbsp;&nbsp; 0.79400 elapsed seconds.<br>
Timing for Writing wrfout_d03_2011-04-10_00:00:00 for domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3:&nbsp;&nbsp;&nbsp; 0.06420 elapsed seconds.<br>
Timing for main: time 2011-04-10_00:00:00 on domain&nbsp;&nbsp; 2:&nbsp;&nbsp;&nbsp; 3.06700 elapsed seconds.<br>
Timing for Writing wrfout_d02_2011-04-10_00:00:00 for domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2:&nbsp;&nbsp;&nbsp; 0.03080 elapsed seconds.<br>
Timing for main: time 2011-04-10_00:00:00 on domain&nbsp;&nbsp; 1:&nbsp;&nbsp;&nbsp; 9.21270 elapsed seconds.<br>
Timing for Writing wrfout_d01_2011-04-10_00:00:00 for domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:&nbsp;&nbsp;&nbsp; 0.02410 elapsed seconds.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:red"> 2 input_wrf: wrf_get_next_time current_date: 2011-04-10_00:00:00 Sta<br>
&nbsp;tus =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -4<br>
&nbsp;-------------- FATAL CALLED ---------------<br>
&nbsp;FATAL CALLED FROM FILE:&nbsp; &lt;stdin&gt;&nbsp; LINE:&nbsp;&nbsp;&nbsp;&nbsp; 705<br>
&nbsp;&nbsp; ... May have run out of valid boundary conditions in file wrfbdy_d01</span><br>
<br>
Best Regards<br>
<br>
Ehsan Beigi<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, May 31, 2011 at 6:41 PM, Feng Liu &lt;<a href="mailto:FLiu@azmag.gov">FLiu@azmag.gov</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">It sounds good. If you need to extract one variable (VAR) in entire domain, you can use read_wrf_nc &#8211;w VAR, if your need a time series
 of VAR in a specific location you may use </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Read_wrf_nc &nbsp;&#8211;ts &nbsp;xy X Y VAR &#8211;lev 1 wrfout_d*.nc</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">You can get the basic application information about the program by read_wrf_nc &#8211;help.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Use shell programming to process multiple day runs.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Hope it is helpful</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Feng</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:-moz-use-text-color -moz-use-text-color">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> Ehsan Beigi [mailto:<a href="mailto:ebeigi3@tigers.lsu.edu" target="_blank">ebeigi3@tigers.lsu.edu</a>]
<br>
<b>Sent:</b> Tuesday, May 31, 2011 3:18 PM<br>
<b>To:</b> Feng Liu<br>
<b>Subject:</b> Re: [Wrf-users] read_wrf_nc.f error</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Thanks very much for you help. it worked!!!<br>
do you recommend me to use other software for reading wrfout, for example MATLAB netcdf toolbox?<br>
<br>
I ran the WRF for 30 days, now i don't know how i can&nbsp; extract numbers of some variables for example Precipitation and Temperature for all grid for 30days among all of output?as you know there are many variables as output, i need to make time series of Precipitation
 and Temperature <br>
<br>
Best Regards<br>
<br>
<br>
<br>
<br>
Ehsan Beigi<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, May 31, 2011 at 12:07 PM, Feng Liu &lt;<a href="mailto:FLiu@azmag.gov" target="_blank">FLiu@azmag.gov</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Hi,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">I think you failed to compile the program successfully due to incomplete flags. I wonder how did you compile this program? &nbsp;If you are
 using Portland Group PGF90, for example, you may compile the program by:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">pgf90 read_wrf_nc.f -L/path_of_your_netCDF_lib -lnetcdf -lm&nbsp; -I/path_of_your_netCDF_include&nbsp; -Mfree&nbsp; -o read_wrf_nc</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Hope this is helpful.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Thanks.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:-moz-use-text-color">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:wrf-users-bounces@ucar.edu" target="_blank">wrf-users-bounces@ucar.edu</a> [mailto:<a href="mailto:wrf-users-bounces@ucar.edu" target="_blank">wrf-users-bounces@ucar.edu</a>]
<b>On Behalf Of </b>Ehsan Beigi<br>
<b>Sent:</b> Monday, May 30, 2011 5:34 PM<br>
<b>To:</b> wrfhelp<br>
<b>Cc:</b> <a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a><br>
<b>Subject:</b> [Wrf-users] read_wrf_nc.f error</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Dear Sir/Madam,<br>
<br>
Thanks&nbsp; for your previous help. I am trying to use read_wrf_nc.f for extracting my desire vaiables from wrf output files. i can see data inside me_em..nc* files, but i can not see the output&nbsp; of wrf (wrfout.do1...), and this is my error message
<br>
<br>
/read_wrf_nc.f: line 1: Special: command not found<br>
information: cannot open `information' (No such file or directory)<br>
on:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cannot open `on' (No such file or directory)<br>
the:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cannot open `the' (No such file or directory)<br>
screen:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cannot open `screen' (No such file or directory)<br>
./read_wrf_nc.f: line 3: Can: command not found<br>
./read_wrf_nc.f: line 4: syntax error near unexpected token `('<br>
./read_wrf_nc.f: line 4: `!&nbsp; Can read double precision file (like WRF-Var)'<br>
<br>
how can i extract some desired variables from wrfout files. i don't care about maps, i just need numbers. i really appreciate your help<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Fri, May 27, 2011 at 10:09 PM, wrfhelp &lt;<a href="mailto:wrfhelp@ucar.edu" target="_blank">wrfhelp@ucar.edu</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Yes, they are, unless you change them in the namelist.wps file. It should not change when you change stand_lon.<br>
But you might want to change them if latitude 30 or 60 are not in your domain.<br>
<br>
wrfhelp<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
<br>
On May 27, 2011, at 10:00 AM, Ehsan Beigi wrote:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dear Sir/Madam,<br>
Thanks for your previous help. &nbsp;is truelat1 &nbsp;= &nbsp;30.0, and &nbsp;truelat2 &nbsp;= &nbsp;60.0 in Lambert projection is always the same for every domain? how about &nbsp;stand_lon = -98.0? if they are different for each domain, how can i calculate them for my domain?<br>
<br>
Best Regards<br>
<br>
Ehsan Beigi<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span style="color:#888888">wrfhelp<br>
<a href="http://www.mmm.ucar.edu/wrf/users/supports/wrfhelp.html" target="_blank">http://www.mmm.ucar.edu/wrf/users/supports/wrfhelp.html</a></span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
<br clear="all">
<br>
-- <br>
<i><span style="color:#666666">Ehsan Beigi</span></i><br>
<i><span style="color:#666666">PhD Student</span></i><br>
<i><span style="color:#666666">Department of Civil and and Environmental Engineering<br>
</span></i><i><span style="font-size:9.0pt;color:#666666">2408 Patrick F. Taylor Hall<br>
Louisiana State University<br>
Baton Rouge, LA, 70803</span></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
<br clear="all">
<br>
-- <br>
<i><span style="color:#666666">Ehsan Beigi</span></i><br>
<i><span style="color:#666666">PhD Student</span></i><br>
<i><span style="color:#666666">Department of Civil and and Environmental Engineering<br>
</span></i><i><span style="font-size:9.0pt;color:#666666">2408 Patrick F. Taylor Hall<br>
Louisiana State University<br>
Baton Rouge, LA, 70803</span></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br clear="all">
<br>
-- <br>
<i><span style="color:#666666">Ehsan Beigi</span></i><br>
<i><span style="color:#666666">PhD Student</span></i><br>
<i><span style="color:#666666">Department of Civil and and Environmental Engineering<br>
</span></i><i><span style="font-size:9.0pt;color:#666666">2408 Patrick F. Taylor Hall<br>
Louisiana State University<br>
Baton Rouge, LA, 70803</span></i><br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>