<div dir="ltr"><div>FYI: NCL 6.2.1 [primarily a bug fix version] will be released in August 2014. It includes the bug fix mentioned.<br><br></div>See: <br><br><a href="http://www.ncl.ucar.edu/future_release.shtml">http://www.ncl.ucar.edu/future_release.shtml</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 1, 2014 at 12:41 PM, Maria Gehne - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:maria.gehne@noaa.gov" target="_blank">maria.gehne@noaa.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I ran into a similar issue a while ago. My fix would be to copy the part of contributed.ncl that computes month_to_annual_weighted and save it as a separate ncl script with a slightly different name. I changed all the references to yyyymmdd in that script to yyyymm and it works. You just need to load the new script at the beginning of the ncl script that uses month_to_annual_weighted_new (or whatever you decide to call it).<span class="HOEnZb"><font color="#888888"><div>


<br></div><div>Maria</div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On Thu, Jul 31, 2014 at 11:00 AM, Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</span> wrote:<br>


</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>That is a bug: See<br><br>   <a href="http://www.ncl.ucar.edu/future_release.shtml" target="_blank">http://www.ncl.ucar.edu/future_release.shtml</a> <br>


<br></div><div>This will be fixed in 6.2.1 [sometime-in-August release]<br>
</div>You will be sent a &#39;fix&#39; offline.<div><div><br><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 10:25 AM,  <span dir="ltr">&lt;<a href="mailto:lsmith@ucar.edu" target="_blank">lsmith@ucar.edu</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi gang,<br>
I&#39;m trying to use month_to_annual_weighted<br>
and I need more info about what the first field in the function is<br>
supposed to be.<br>
I created dates of the type YYYYMM for my data, but I&#39;m getting the error:<br>
fatal:Variable (yyyymmdd) is undefined<br>
fatal:[&quot;Execute.c&quot;:8567]:Execute: Error occurred at or near line 9783<br>
in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl<br>
<br>
Where does dd come into it?  The webpage doesn&#39;t say anything about days:<br>
<a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/month_to_annual_weighted.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Contributed/month_to_annual_weighted.shtml</a><br>
Do my dates need some particular metadata?<br>
Or are they supposed to be of the form YYYYMMDD?<br>
Thanks for any suggestions,<br>
-Lesley L. Smith<br>
<br>
----------------------------------------------------------------<br>
This message was sent using IMP, the Internet Messaging Program.<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div></div></div></div></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div></div></div><br></div>
</blockquote></div><br></div>