<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" 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: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;}
/* 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:"Calibri","sans-serif";
color:#1F497D'>Kevin ,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks--I agree with your analysis of the code. The adapt_timestep
function needs to be called for all domains. It appears that the change
between WRF 3.1.1 and WRF 3.2 was instituted in order to handle restarts,
however, it looks like it broke the nested adaptive time step. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Assuming that you’re not doing restarts, I agree and I would
modify the section in the solve_em.F WRF code to the version 3.1 version as you
have described. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Todd<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </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:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
wrf-users-bounces@ucar.edu [mailto:wrf-users-bounces@ucar.edu] <b>On Behalf Of </b>Kevin
Matthew Nuss<br>
<b>Sent:</b> Friday, October 22, 2010 5:37 PM<br>
<b>To:</b> Zulauf, Michael; rahulm@uw.edu; wrf-users@ucar.edu<br>
<b>Subject:</b> Re: [Wrf-users] Adaptive Time-step output times
mismatch/incorrect<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Hi All,<br>
<br>
I checked the code. The subroutine to adapt time steps is no longer called for
NESTED domains unless at a boundary update time, so it is not able to adapt the
time step to hit the output time, except for the outer domain.<br>
<br>
Here is the 3.1.1 code in solve_em.F when it worked:<br>
<br>
! Adaptive time step: Added by T. Hutchinson, WSI
3/5/07<br>
! In this call, we do the time-step adaptation
and set time-dependent lateral<br>
! boundary condition nudging weights.<br>
!<br>
IF (config_flags%use_adaptive_time_step) THEN<br>
CALL adapt_timestep(grid,
config_flags)<br>
adapt_step_flag = .TRUE.<br>
ELSE<br>
adapt_step_flag = .FALSE.<br>
ENDIF<br>
! End of adaptive time step modifications<br>
<br>
And here is the equivalent code in 3.2.1:<br>
<br>
! Adaptive time step: Added by T. Hutchinson, WSI
3/5/07<br>
! In this call, we do the time-step adaptation
and set time-dependent lateral<br>
! boundary condition nudging weights.<br>
!<br>
IF ( (config_flags%use_adaptive_time_step)
.and. &<br>
( (.not.
grid%nested) .or. &<br>
( (grid%nested)
.and. (abs(grid%dtbc) < 0.0001) ) ) )THEN<br>
CALL adapt_timestep(grid,
config_flags)<br>
adapt_step_flag = .TRUE.<br>
ELSE<br>
adapt_step_flag = .FALSE.<br>
ENDIF<br>
! End of adaptive time step modifications<br>
<br>
The variable dtbc is descripbed as: "TIME SINCE BOUNDARY READ."
Since I don't know the purpose of the changes, I won't suggest changing 3.2.1
to look like 3.1.1<br>
<br>
I also looked at the code related to the configuration variable
"adjust_output_times". To me it looks like the output string for the
file name is changed when this is "true" but not the timestep or
anything else.<br>
<br>
Kevin Nuss<br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal>On Mon, Jun 28, 2010 at 3:05 PM, Zulauf, Michael <<a
href="mailto:Michael.Zulauf@iberdrolausa.com">Michael.Zulauf@iberdrolausa.com</a>>
wrote:<o:p></o:p></p>
<p class=MsoNormal>FYI, I've seen this exact issue with 3.2 also (and _only_
3.2). I've<br>
had a couple emails with wrfhelp (the last being about a month ago), but<br>
haven't heard back as to whether they were able to reproduce or<br>
otherwise shed some light on this issue. I expect they're busy. But<br>
I'll ping them again here. ;-)<br>
<br>
I've been planning to try a different set of compilers, and see if that<br>
makes any difference. But I've been busy too.<br>
<br>
So, no help, but at least you're not alone.<br>
<br>
Mike<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><br>
<br>
-----Original Message-----<br>
Date: Fri, 25 Jun 2010 11:17:35 -0700<br>
From: Rahul Mahajan <<a href="mailto:rahulm@atmos.uw.edu">rahulm@atmos.uw.edu</a>><br>
Subject: Re: [Wrf-users] Adaptive Time-step output times<br>
mismatch/incorrect<br>
To: David Ovens <<a href="mailto:ovens@atmos.washington.edu">ovens@atmos.washington.edu</a>><br>
Cc: <a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a><br>
Message-ID:<br>
<<a
href="mailto:AANLkTikc8pDwNWZhHCtmbP0LrJ6m8Sy0chrsCp7pzqGC@mail.gmail.com">AANLkTikc8pDwNWZhHCtmbP0LrJ6m8Sy0chrsCp7pzqGC@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
David,<br>
It does look like the way you say. So, I suppose the issue is someplace<br>
else.<br>
<br>
Thanks,<br>
Rahul.<br>
<br>
On Fri, Jun 25, 2010 at 11:09 AM, David Ovens<br>
<<a href="mailto:ovens@atmos.washington.edu">ovens@atmos.washington.edu</a>>wrote:<br>
<br>
> Rahul,<br>
><br>
> I am not sure if this bug is the same that I found earlier in 3.2,<br>
> since I noticed an output bug with a time_step of 216 seconds and<br>
> adaptive time stepping was turned off. But, take a look at your<br>
> external/esmf_time_f90/ESMF_Clock.F90 around line 1024. It should<br>
> look like this:<br>
><br>
> IF ( ( .NOT. ( pred1 ) )
.AND. &<br>
> ( ( pred2 )
.OR. ( pred3 ) ) ) THEN<br>
>
alarm%alarmint%Ringing = .TRUE.<br>
> !
alarm%alarmint%PrevRingTime =<br>
clock%clockint%CurrTime<br>
>
alarm%alarmint%RingTimeSet = .FALSE. !it is a one<br>
time<br>
> alarm, it rang, now let it resort to interval<br>
> #if 1<br>
> ! logic above is sufficient to set the PrevRingTime, it is now.<br>
> IF (
positive_timestep ) THEN<br>
><br>
> I hope that does it for you.<br>
><br>
> David<o:p></o:p></p>
</div>
</div>
<p class=MsoNormal>*****************************<br>
<br>
<br>
<br>
<br>
This message is intended for the exclusive attention of the address(es)
indicated. Any information contained herein is strictly confidential and
privileged, especially as regards person data,<br>
which must not be disclosed. If you are the intended recipient and have
received it by mistake or learn about it in any other way, please notify us by
return e-mail and delete this message from<br>
your computer system. Any unauthorized use, reproduction, alteration,
filing or sending of this message and/or any attached files to third parties
may lead to legal proceedings being taken. Any<br>
opinion expressed herein is solely that of the author(s) and does not
necessarily represent the opinion of Iberdrola. The sender does not guarantee
the integrity, speed or safety of this<br>
message, not accept responsibility for any possible damage arising from the
interception, incorporation of virus or any other manipulation carried out by
third parties.<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><br>
_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>