<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>This question has already been answered many times in the forum. Here are just a few threads to choose from (search string was "site:gradsusr.org 365 calendar sdfopen") :</div><div><br></div><div><a href="http://gradsusr.org/pipermail/gradsusr/2009-December/010064.html">http://gradsusr.org/pipermail/gradsusr/2009-December/010064.html</a></div><div><a href="http://gradsusr.org/pipermail/gradsusr/2009-April/008489.html">http://gradsusr.org/pipermail/gradsusr/2009-April/008489.html</a></div><div><a href="http://gradsusr.org/pipermail/gradsusr/2009-January/008103.html">http://gradsusr.org/pipermail/gradsusr/2009-January/008103.html</a></div><div><a href="http://gradsusr.org/pipermail/gradsusr/2011-April/013123.html">http://gradsusr.org/pipermail/gradsusr/2011-April/013123.html</a></div><div><br></div><div>The error message delivered by GrADS is carefully written to give you the information you need -- you must write a descriptor file to open this file with GrADS. Your descriptor file must have the following entries:</div><div>DSET</div><div>TDEF</div><div>OPTIONS 365_day_calendar</div><div>The link to the documentation in the error message shows you how to create these entries, and help you decide whether you need to use 'xdfopen' or the 'open' command.&nbsp;If the documentation is incomplete in any way, I welcome suggestions for improvements.&nbsp;</div><div><br></div><div>If you read the documentation carefully, and go through the previous emails on this subject, and still don't understand what to do, then please follow these guidelines:</div><div><br></div><div>Include the version of GrADS you are running, and the OS you are running it on.</div><div>Include the output from ncdump -c on your netcdf file</div><div>Include the descriptor file you've written</div><div>Include the complete text of your GrADS session including the error message</div><div><br></div><div>This is the last time I will answer this question.&nbsp;<br>--Jennifer</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>On Jun 13, 2011, at 12:53 PM, Tummuri, Spandana wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><font face="Book Antiqua, serif" size="2"><div><font color="#17365D">Hello Everyone,</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">I was wondering if one of you would be able to tell me how you addressed this issue.</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">I am not very good at GRADS programming.&nbsp; I only needed to use it to open a “.nc” file and get some values averaged over a period of time.&nbsp; So I typically use the following three commands in grads.</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">Sdfopen “filename.nc”</font></div><div><font color="#17365D">Run monmask.gs N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ……………….(N = month)</font></div><div><font color="#17365D">d ave(aave(pr*mmask, lon=lon1, lon = lon2, lat = lat1, lat = lat2),t=time1,t=time2)</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">This worked for a few files but when I tried to use it on some others, I get the following error</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">ga-&gt; sdfopen pr_A1.nc</font></div><div><font color="#17365D">Scanning self-describing file:&nbsp; pr_A1.nc</font></div><div><font color="#17365D">SDF Error: 365 day calendars are no longer supported by sdfopen.</font></div><div><font color="#17365D">&nbsp; To open this file with GrADS, use a descriptor file with</font></div><div><font color="#17365D">&nbsp; a complete TDEF entry and OPTIONS 365_day_calendar.</font></div><div><font color="#17365D">&nbsp; Documentation is at<span class="Apple-converted-space">&nbsp;</span><a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html"><font color="#0000FF"><u>http://iges.org/grads/gadoc/SDFdescriptorfile.html</u></font></a></font></div><div><font face="Calibri, sans-serif" size="2" color="#17365D">&nbsp;</font></div><div><font color="#17365D">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.</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">Can you tell me how I can open files that have “noleap” calendars and work around the 365_day_calendar issue?</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">I greatly appreciated your help in this matter.</font></div><div><font color="#17365D">&nbsp;</font></div><div><font color="#17365D">Thank you.</font></div><div><font color="#17365D">Spandana</font></div><div><font face="Calibri, sans-serif" size="2" color="#17365D">&nbsp;</font></div><div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div></font>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></div> </div><br></body></html>