Hey Michael,<div><br></div><div>I just tested it and it seems to work fine for me.</div><div><br></div><div>I&#39;m fine with you committing it whenever you feel like it.</div><div><br></div><div>Thanks</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Fri, Nov 16, 2012 at 2:23 PM, Michael Duda <span dir="ltr">&lt;<a href="mailto:duda@ucar.edu" target="_blank">duda@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi, Folks.<br>
<br>
I&#39;d like to commit a bug fix to the trunk. In the read_and_distribute_fields()<br>
subroutine, which is currently only called from the framework and by the<br>
non-hydrostatic atmosphere core, we need to obtain the time frame to read from<br>
the input object, rather than assuming this will always be 1. The fix is simply<br>
to change<br>
<br>
      call MPAS_readStream(input_obj % io_stream, 1, ierr)<br>
<br>
to<br>
<br>
      call MPAS_readStream(input_obj % io_stream, input_obj % time, ierr)<br>
<br>
In the framework code, we always set input_obj % time before calling this routine,<br>
so there will be no impact on any core besides the non-hydrostatic atmosphere,<br>
where we also call read_and_distribute_fields() to periodically update surface<br>
fields from a file with multiple time frames.<br>
<br>
Any comments are welcome.<br>
<br>
Thanks,<br>
Michael<br>
_______________________________________________<br>
mpas-developers mailing list<br>
<a href="mailto:mpas-developers@mailman.ucar.edu">mpas-developers@mailman.ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/mpas-developers" target="_blank">http://mailman.ucar.edu/mailman/listinfo/mpas-developers</a><br>
</blockquote></div><br></div>