<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>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">https://code.zmaw.de/projects/cdo</a>) to make your data readable in GrADS. </div><div><br></div><div>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 style="text-indent: 0px !important; ">standard</b> 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>> <br>> Message: 5<br>> Date: Mon, 13 Jun 2011 12:53:37 -0400<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 following erro
r<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<br><br></div>                                            </body>
</html>