<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Dear Spandana,<div><br></div><div>I suppose you are using GrADS 2.0+. In that case I suggest that you can use CDO (<a href="https://code.zmaw.de/projects/cdo" target="_blank">https://code.zmaw.de/projects/cdo</a>) to make your data readable in GrADS.&nbsp;</div><div><br></div><div>The CDO command is: "setcalendar,<b> option</b>&nbsp;inputfile.nc outputfile.nc'' . U will see the calendar <b>options</b> in the user manual. Your data appears to be CMIP output, if so&nbsp;"setcalendar,&nbsp;<b style="text-indent:0px !important">standard</b>&nbsp;inputfile.nc outputfile.nc'' should produce an output of the same data readable by GrADS 2.0+.</div><div><br></div><div><br></div><div>2. Alternatively, the older version of GrADS, say 1.9 should read ur data as it is. You may wish to instal and use it.</div><div><br></div><div>Best,</div><div><br></div><div>Hyacinth</div><div><br></div><div><br></div><div><br></div><div>&gt; <br>&gt; Message: 5<br>&gt; Date: Mon, 13 Jun 2011 12:53:37 -0400<br>&gt; From: "Tummuri, Spandana" &lt;tummuris@cdm.com&gt;<br>&gt; Subject: [gradsusr] SDF Error: 365 day calendars are no longer<br>&gt;         supported by        sdfopen.<br>&gt; To: "gradsusr@gradsusr.org" &lt;gradsusr@gradsusr.org&gt;<br>&gt; Message-ID:<br>&gt;         &lt;6906BEEB113AEB48B9910246026EA9BED1750F2785@CAMEXCMS3.cdminc.internal.cdm.com&gt;<br>&gt;         <br>&gt; Content-Type: text/plain; charset="us-ascii"<br>&gt; <br>&gt; Hello Everyone,<br>&gt; <br>&gt; I was wondering if one of you would be able to tell me how you addressed this issue.<br>&gt; <br>&gt; I am not very good at GRADS programming.  I only needed to use it to open a ".nc" file and get some values averaged over a period of time.  So I typically use the following three commands in grads.<br>&gt; <br>&gt; Sdfopen "filename.nc"<br>&gt; Run monmask.gs N           ...................(N = month)<br>&gt; d ave(aave(pr*mmask, lon=lon1, lon = lon2, lat = lat1, lat = lat2),t=time1,t=time2)<br>&gt; <br>&gt; This worked for a few files but when I tried to use it on some others, I get the follo
wing error<br>&gt; <br>&gt; <br>&gt; ga-&gt; sdfopen pr_A1.nc<br>&gt; Scanning self-describing file:  pr_A1.nc<br>&gt; SDF Error: 365 day calendars are no longer supported by sdfopen.<br>&gt;   To open this file with GrADS, use a descriptor file with<br>&gt;   a complete TDEF entry and OPTIONS 365_day_calendar.<br>&gt;   Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html<br>&gt; <br>&gt; When I compared NCDUMP for the files for which "sdfopen" worked with the those for which "sdfopen" did not work, I noticed that the calendar has to be gregarian for sdfopen to work.<br>&gt; <br>&gt; Can you tell me how I can open files that have "noleap" calendars and work around the 365_day_calendar issue?<br>&gt; <br>&gt; I greatly appreciated your help in this matter.<br>&gt; <br>&gt; Thank you.<br>&gt; Spandana<br><br></div>                                               </body>
</html>