<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> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>Thanks for the response. 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> </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> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'><o:p> </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 >
supported by sdfopen.<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </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> </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. <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>The
CDO command is: "setcalendar,<b> option</b> 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 "setcalendar, <b>standard</b> 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> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </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> </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> </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> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </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"'>> <br>
> Message: 5<br>
> Date: Mon, 13 Jun 2011 12:53:37 -0! 400<br>
> From: "Tummuri, Spandana" <tummuris@cdm.com><br>
> Subject: [gradsusr] SDF Error: 365 day calendars are no longer<br>
> supported by sdfopen.<br>
> To: "gradsusr@gradsusr.org" <gradsusr@gradsusr.org><br>
> Message-ID:<br>
> <6906BEEB113AEB48B9910246026EA9BED1750F2785@CAMEXCMS3.cdminc.internal.cdm.com><br>
> <br>
> Content-Type: text/plain; charset="us-ascii"<br>
> <br>
> Hello Everyone,<br>
> <br>
> I was wondering if one of you would be able to tell me how you addressed
this issue.<br>
> <br>
> 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>
> <br>
> Sdfopen "filename.nc"<br>
> Run monmask.gs N ...................(N = month)<br>
> d ave(aave(pr*mmask, lon=lon1, lon = lon2, lat = lat1, lat =
lat2),t=time1,t=time2)<br>
> <br>
> This worked for ! a few files but when I tried to use it on some others, I
get the follo wing error<br>
> <br>
> <br>
> ga-> sdfopen pr_A1.nc<br>
> Scanning self-describing file: pr_A1.nc<br>
> SDF Error: 365 day calendars are no longer supported by sdfopen.<br>
> To open this file with GrADS, use a descriptor file with<br>
> a complete TDEF entry and OPTIONS 365_day_calendar.<br>
> Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html<br>
> <br>
> 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>
> <br>
> Can you tell me how I can open files that have "noleap" calendars
and work around the 365_day_calendar issue?<br>
> <br>
> I greatly appreciated your help in this matter.<br>
> <br>
> Thank you.<br>
> Spandana<o:p></o:p></span></p>
</div>
</div>
</body>
</html>