<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Dave,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It might be worth trying a new version of NCL on this script, since a number of bugs have been fixed since then, pertaining to NetCDF files.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you can&#39;t upgrade, then can you provide us with the NetCDF file and a simple script that illustrates the cd_inv_calendar issue?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 2, 2015 at 12:18 PM, Vollaro, David <span dir="ltr">&lt;<a href="mailto:dvollaro@albany.edu" target="_blank">dvollaro@albany.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 style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,<br>
<br>
I have created a NETCDF-4 file w/NCL v6.1.2.  I am having a problem using <br>
cd_inv_calendar when reading this file.  I get the following error:<br>
<br>
fatal:Argument type mismatch on argument (6) of (cd_inv_calendar) can not be coerced<br>
<br>
When I create the same NETCDF-4 file using V6.0.0 it reads OK.  </p>
<p><br>
</p>
<p>Running a ncdump -h  on each of these files there are differences:<br>
<br>
 ncdump -h on V6.1.2 file<br>
netcdf ANOM+6SCALAR_1983-2013_240x121 {<br>
dimensions:<br>
    time = UNLIMITED ; // (640 currently)<br>
    level = 39 ;<br>
    latitude = 121 ;<br>
    longitude = 240 ;<br>
variables:<br>
    double time(time) ;<br>
        time:_FillValue = 9.96920996838687e+36 ;<br>
        time:actual_range = 1867128., 1874610. ;<br>
        string time:first_time = &quot;2013-1-1 00:00:00&quot; ;<br>
        string time:delta_t = &quot;0000-00-00 06:00:00&quot; ;<br>
        string time:long_name = &quot;initial time&quot; ;<br>
        string time:units = &quot;hours since 1800-01-01 00:00:00&quot; ;<br>
        string time:last_time = &quot;2013-12-31 18:00:00&quot; ;<br>
        time:_ChunkSizes = 1 ;<br>
......<br>
<br>
ncdump -h on V6.0.0 file<br>
netcdf AANOM+6SCALAR_2000-2013_240x121 {<br>
dimensions:<br>
    time = UNLIMITED ; // (6 currently)<br>
    level = 39 ;<br>
    latitude = 121 ;<br>
    longitude = 240 ;<br>
variables:<br>
    double time(time) ;<br>
        time:_ChunkSizes = 1 ;<br>
        time:units = &quot;hours since 1800-01-01 00:00:00&quot; ;<br>
        time:long_name = &quot;initial time&quot; ;<br>
        time:delta_t = &quot;0000-00-00 06:00:00&quot; ;<br>
        time:first_time = &quot;1988-1-1 00:00:00&quot; ;<br>
        time:last_time = &quot;1988-12-31 18:00:00&quot; ;<br>
        time:actual_range = 1647960., 1656738. ;<br>
        time:_FillValue = 9.96920996838687e+36 ;</p>
<p>.....<br>
<br>
There appears to be a &quot;string&quot; label in front of the string vars in the 6.1.2 vers.<br>
I have attached the script that creates the file.  Thanks for any help you can provide<br>
<br>
Dave Vollaro<br>
<br>
</p>
</div>
</div>

<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><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>