<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" 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 = "2013-1-1 00:00:00" ;<br>
string time:delta_t = "0000-00-00 06:00:00" ;<br>
string time:long_name = "initial time" ;<br>
string time:units = "hours since 1800-01-01 00:00:00" ;<br>
string time:last_time = "2013-12-31 18:00:00" ;<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 = "hours since 1800-01-01 00:00:00" ;<br>
time:long_name = "initial time" ;<br>
time:delta_t = "0000-00-00 06:00:00" ;<br>
time:first_time = "1988-1-1 00:00:00" ;<br>
time:last_time = "1988-12-31 18:00:00" ;<br>
time:actual_range = 1647960., 1656738. ;<br>
time:_FillValue = 9.96920996838687e+36 ;</p>
<p>.....<br>
<br>
There appears to be a "string" 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>
</body>
</html>