<div dir="ltr"><div><div>The cd_inv_calendar function is what should be used.<br></div><br></div>Note: As noted by Jared ... you should include a simple example of how you are using the function.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 1:31 PM, Jared Lee <span dir="ltr">&lt;<a href="mailto:jaredlee@ucar.edu" target="_blank">jaredlee@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"><div dir="ltr"><div>Another thing, Conrado: Have you tried using cd_inv_calendar instead? The function ut_inv_calendar has been deprecated.<br><br><a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/cd_inv_calendar.shtml" target="_blank">http://www.ncl.ucar.edu/Document/Functions/Built-in/cd_inv_calendar.shtml</a><span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Jared<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 1:28 PM, Jared Lee <span dir="ltr">&lt;<a href="mailto:jaredlee@ucar.edu" target="_blank">jaredlee@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"><div dir="ltr"><div><div>Hi Conrado,<br><br></div>You need to send a basic, simple script to ncl-talk that reproduces the error. Unless people can see your script, including how you&#39;re using the ut_inv_calendar function, nobody will have enough information to be able to help you.<br><br></div>Jared<br></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 11:43 AM,  <span dir="ltr">&lt;<a href="mailto:jorge.conrado@cptec.inpe.br" target="_blank">jorge.conrado@cptec.inpe.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
      Hi,<br>
<br>
<br>
      I have ncl-6.2.1 version for Linux. I run the NCL and I had the message:<br>
<br>
      fatal:ut_inv_calendar: Invalid specification string<br>
<br>
      What can I do to solve this error.<br>
<br>
<br>
      I typed these commands:<br>
<br>
         ncl -V   -------------&gt; 6.2.1<br>
<br>
       which ncl  -------------&gt; /usr/local/ncl-6.2.1/bin/ncl<br>
<br>
       ncargpath udunits ------&gt; usr/local/ncl-6.2.1/lib/ncarg/udunits<br>
<br>
       ncargpath lib  ---------&gt;  /usr/local/ncl-6.2.1/lib<br>
<br>
<br>
       ls -l `ncargpath udunits`<br>
<br>
     total 76<br>
     -rw-r--r--. 1 8338 12009  6994 Set  1 22:57 udunits2-accepted.xml<br>
     -rw-r--r--. 1 8338 12009  3002 Set  1 22:57 udunits2-base.xml<br>
     -rw-r--r--. 1 8338 12009 51743 Set  1 22:57 udunits2-common.xml<br>
     -rw-r--r--. 1 8338 12009  3915 Set  1 22:57 udunits2-derived.xml<br>
     -rw-r--r--. 1 8338 12009  2281 Set  1 22:57 udunits2-prefixes.xml<br>
     -rw-r--r--. 1 8338 12009   517 Set  1 22:57 udunits2.xml<br>
<br>
      env | grep NCARG ----------------&gt;  NCARG_ROOT=/usr/local/ncl-6.2.1<br>
<br>
<br>
        But I do not know how to resolve this issue<br>
<br>
<br>
         Please can anyone help me?<br>
<br>
<br>
      Conrado<br>
<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><br clear="all"><br></div></div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div><div><div><div><font face="courier new, monospace">===============================<br>Jared A. Lee, Ph.D.<br></font></div><font face="courier new, monospace">Project Scientist I<br></font></div><font face="courier new, monospace">Research Applications Laboratory<br></font></div><font face="courier new, monospace">National Center for Atmospheric Research<br>Boulder, Colorado, USA<br><br></font></div><font face="courier new, monospace">Email: <a href="mailto:jaredlee@ucar.edu" target="_blank">jaredlee@ucar.edu</a> (w)<br></font></div><font face="courier new, monospace">Phone: <a href="tel:303.497.8485" value="+13034978485" target="_blank">303.497.8485</a> (w)</font><div><font face="courier new, monospace">Web: <a href="https://staff.ucar.edu/users/jaredlee" target="_blank">https://staff.ucar.edu/users/jaredlee</a><br>===============================</font><br></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div><div><div><div><font face="courier new, monospace">===============================<br>Jared A. Lee, Ph.D.<br></font></div><font face="courier new, monospace">Project Scientist I<br></font></div><font face="courier new, monospace">Research Applications Laboratory<br></font></div><font face="courier new, monospace">National Center for Atmospheric Research<br>Boulder, Colorado, USA<br><br></font></div><font face="courier new, monospace">Email: <a href="mailto:jaredlee@ucar.edu" target="_blank">jaredlee@ucar.edu</a> (w)<br></font></div><font face="courier new, monospace">Phone: <a href="tel:303.497.8485" value="+13034978485" target="_blank">303.497.8485</a> (w)</font><div><font face="courier new, monospace">Web: <a href="https://staff.ucar.edu/users/jaredlee" target="_blank">https://staff.ucar.edu/users/jaredlee</a><br>===============================</font><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><br></div>