<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"SimSun","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"SimSun","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Book Antiqua","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>Dear Hyacinth,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>Thanks for the response.&nbsp; I will try this and will see if
it works.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>Spandana<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] <b>On
Behalf Of </b>Hyacinth Nnamchi<br>
<b>Sent:</b> Tuesday, June 14, 2011 7:18 AM<br>
<b>To:</b> gradsusr@gradsusr.org<br>
<b>Subject:</b> Re: [gradsusr] SDF Error: 365 day calendars are no longer &gt;
supported by sdfopen.<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Dear
Spandana,<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>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;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>The
CDO command is: &quot;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;&quot;setcalendar,&nbsp;<b>standard</b>&nbsp;inputfile.nc
outputfile.nc'' should produce an output of the same data readable by GrADS
2.0+.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>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.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Best,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Hyacinth<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>&gt; <br>
&gt; Message: 5<br>
&gt; Date: Mon, 13 Jun 2011 12:53:37 -0! 400<br>
&gt; From: &quot;Tummuri, Spandana&quot; &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: &quot;gradsusr@gradsusr.org&quot; &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=&quot;us-ascii&quot;<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
&quot;.nc&quot; 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 &quot;filename.nc&quot;<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 &quot;sdfopen&quot; worked
with the those for which &quot;sdfopen&quot; 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 &quot;noleap&quot; 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<o:p></o:p></span></p>

</div>

</div>

</body>

</html>