<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: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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
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;}
 /* List Definitions */
 @list l0
        {mso-list-id:961810349;
        mso-list-type:hybrid;
        mso-list-template-ids:679639040 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1927687087;
        mso-list-type:hybrid;
        mso-list-template-ids:679639040 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</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 style='word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>Thank you for the response.&nbsp; I have tried following the
description provided for previous queries.&nbsp; I created a descriptor file
and am using &#8220;xdfopen&#8221; to access the descriptor file.&nbsp; But
looks like there is something wrong with my &#8220;TDEF&#8221; in the descriptor
file because I get an error when I use &#8220;xdfopen&#8221;.&nbsp; Can anyone
help me specify the correct &#8220;TDEF&#8221;?<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=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif";color:#1F497D'><span
style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>I am running Grads v 2.0.a9 and am running it on linux<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif";color:#1F497D'><span
style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>My descriptor file looks as shown below.<o:p></o:p></span></p>

<p class=MsoListParagraph><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>DSET ^test.nc<o:p></o:p></span></p>

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

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

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

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

<p class=MsoListParagraph><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>TDEF time LINEAR 0Z01JAN1861 1mo<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif";color:#1F497D'><span
style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>The error I get when I use xdfopen is as follows.<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:.5in'><span style='font-size:10.0pt;
font-family:"Book Antiqua","serif";color:#1F497D'>ga-&gt; xdfopen test.dat<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:.5in'><span style='font-size:10.0pt;
font-family:"Book Antiqua","serif";color:#1F497D'>Scanning Descriptor
File:&nbsp; test.dat<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:.5in'><span style='font-size:10.0pt;
font-family:"Book Antiqua","serif";color:#1F497D'>gadxdf error: Missing or
invalid dimension size.<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:.5in'><span style='font-size:10.0pt;
font-family:"Book Antiqua","serif";color:#1F497D'>&nbsp; -&gt; The invalid
description file record is: <o:p></o:p></span></p>

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

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

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif";color:#1F497D'><span
style='mso-list:Ignore'>4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>Below is the output from ncdump &#8211;c for my netcdf file<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'>dimensions:<o:p></o:p></span></p>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
time:units = &quot;days since 1861-01-01 00:00:00&quot; ;<o:p></o:p></span></p>

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

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

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

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

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

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

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

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

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

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

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
pr:comment = &quot;includes all types (rain, snow, large-scale, convective,
etc.)&quot; ;<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<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>&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>Jennifer Adams<br>
<b>Sent:</b> Tuesday, June 14, 2011 8:54 AM<br>
<b>To:</b> GrADS Users Forum<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>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>This question has already been answered many times in the
forum. Here are just a few threads to choose from (search string was
&quot;site:gradsusr.org 365 calendar sdfopen&quot;) :<o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><a
href="http://gradsusr.org/pipermail/gradsusr/2009-December/010064.html">http://gradsusr.org/pipermail/gradsusr/2009-December/010064.html</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><a
href="http://gradsusr.org/pipermail/gradsusr/2009-April/008489.html">http://gradsusr.org/pipermail/gradsusr/2009-April/008489.html</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><a
href="http://gradsusr.org/pipermail/gradsusr/2009-January/008103.html">http://gradsusr.org/pipermail/gradsusr/2009-January/008103.html</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><a
href="http://gradsusr.org/pipermail/gradsusr/2011-April/013123.html">http://gradsusr.org/pipermail/gradsusr/2011-April/013123.html</a><o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal>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:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>DSET<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>TDEF<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>OPTIONS 365_day_calendar<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>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;<o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal>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:<o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal>Include the version of GrADS you are running, and the OS you
are running it on.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Include the output from ncdump -c on your netcdf file<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Include the descriptor file you've written<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Include the complete text of your GrADS session including
the error message<o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal>This is the last time I will answer this question.&nbsp;<br>
--Jennifer<o:p></o:p></p>

</div>

<div>

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

</div>

<div>

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

</div>

<div>

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

</div>

<div>

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

</div>

<div>

<div>

<p class=MsoNormal>On Jun 13, 2011, at 12:53 PM, Tummuri, Spandana wrote:<o:p></o:p></p>

</div>

<p class=MsoNormal><br>
<br>
<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>Hello Everyone,</span><span style='font-size:10.0pt;font-family:
"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>I was wondering if one of you would be able to tell me how you
addressed this issue.</span><span style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>I am not very good at GRADS programming.&nbsp; I only needed to
use it to open a &#8220;.nc&#8221; file and get some values averaged over a
period of time.&nbsp; So I typically use the following three commands in grads.</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>Sdfopen &#8220;filename.nc&#8221;</span><span style='font-size:
10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>Run monmask.gs
N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.(N = month)</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>d ave(aave(pr*mmask, lon=lon1, lon = lon2, lat = lat1, lat =
lat2),t=time1,t=time2)</span><span style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>This worked for a few files but when I tried to use it on some
others, I get the following error</span><span style='font-size:10.0pt;
font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>ga-&gt; sdfopen pr_A1.nc</span><span style='font-size:10.0pt;
font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>Scanning self-describing file:&nbsp; pr_A1.nc</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>SDF Error: 365 day calendars are no longer supported by sdfopen.</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>&nbsp; To open this file with GrADS, use a descriptor file with</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>&nbsp; a complete TDEF entry and OPTIONS 365_day_calendar.</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>&nbsp; Documentation is at<span class=apple-converted-space>&nbsp;</span><a
href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a></span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>When I compared NCDUMP for the files for which
&#8220;sdfopen&#8221; worked with the those for which &#8220;sdfopen&#8221; did
not work, I noticed that the calendar has to be gregarian for sdfopen to work.</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>Can you tell me how I can open files that have
&#8220;noleap&#8221; calendars and work around the 365_day_calendar issue?</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>I greatly appreciated your help in this matter.</span><span
style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:#17365D'>Thank you.</span><span style='font-size:10.0pt;font-family:"Book Antiqua","serif"'><o:p></o:p></span></p>

</div>

<div>

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

</div>

<div>

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

</div>

<div>

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

</div>

<p class=MsoNormal>_______________________________________________<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><o:p></o:p></p>

</div>

</div>

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

<div>

<div>

<div>

<p class=MsoNormal><span style='font-size:9.0pt'>--<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:9.0pt'>Jennifer M. Adams<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:9.0pt'>IGES/COLA<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:9.0pt'>4041 Powder Mill Road, Suite
302<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:9.0pt'>Calverton, MD 20705<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:9.0pt'><a
href="mailto:jma@cola.iges.org">jma@cola.iges.org</a><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:9.0pt'><o:p>&nbsp;</o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:9.0pt'><o:p>&nbsp;</o:p></span></p>

</div>

</div>

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

</div>

</body>

</html>