<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Did you use xdfopen? Please send the complete text of your GrADS session, including the version number. You will need the 'options 365_day_calendar' entry to your descriptor. --Jennifer<div><br><div><br><div><div>On Nov 1, 2012, at 9:34 PM, Cara-Lyn Lappen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Removing lon and lat did not work<div><br></div><div>I get the same error message.</div><div><br></div><div>The other suggestion to add the line : "options template 365_day_calendar" also did not work.</div><div><br></div><div>any other ideas? Im open…</div><div><br></div><div>Cara-Lyn</div><div><br></div><div><br></div><div><br><div><div>On Nov 1, 2012, at 7:25 PM, Rupak Rajbhandari &lt;<a href="mailto:rupak.rajbhandari@gmail.com">rupak.rajbhandari@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">remove 'lon' &amp; 'lat' from xdef and ydef line in a descriptor file.<div><br></div><div>-rupak</div><div><br><br><div class="gmail_quote">On Fri, Nov 2, 2012 at 2:24 AM, Sagar Parajuli <span dir="ltr">&lt;<a href="mailto:psagar@utexas.edu" target="_blank">psagar@utexas.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cara-lyn<br>
In your script please include the following and use xdfopen to open the<br>
file, it should work:<br>
options template 365_day_calendar<br>
<br>
<br>
<br>
,<br>
<br>
Sagar Prasad Parajuli<br>
Graduate Student/Research Assistant<br>
University of Texas at Austin<br>
Jackson School of Geosciences<br>
1 University Station C1100, JGB 5.322<br>
Austin, TX 78712<br>
Contact: <a href="mailto:psagar@utexas.edu">psagar@utexas.edu</a><br>
Cell: <a href="tel:512%20965%204093" value="+15129654093">512 965 4093</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>]<br>
On Behalf Of Cara-Lyn Lappen<br>
Sent: Thursday, November 01, 2012 3:10 PM<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Subject: [gradsusr] opening CAM netcdf files with grads<br>
<br>
hi all,<br>
<br>
I am fairly new to GraDs. I am trying to use GraDs to open a netcdf file<br>
created by the NCAR CAM model. I have tried everything and I can't get it to<br>
work.<br>
sdfopen doesn't work because it has a 365 day calendar. So, I tried xdfopen<br>
with a model descriptor file that looks like this (test.ctl)<br>
<br>
DSET ^tiltedheat_daily_1980_1997_FLNT_anom.nc<br>
TITLE This is only a test<br>
UNDEF -999<br>
XDEF lon 144 &nbsp; &nbsp;LINEAR 0.0 2.5<br>
YDEF lat 96 LINEAR -90. 1.9<br>
TDEF 6206 LINEAR 00Z1jan1980 1dy<br>
VARS 1<br>
OLR=&gt;FLNT_anom 0 x,y OLR<br>
ENDVARS<br>
<br>
-----------------------------------------------------------<br>
<br>
The ncdump -h output for this file looks like this:<br>
<br>
netcdf tiltedheat_daily_1980_1997_FLNT_anom {<br>
dimensions:<br>
&nbsp; &nbsp; &nbsp; &nbsp; time = UNLIMITED ; // (6206 currently)<br>
&nbsp; &nbsp; &nbsp; &nbsp; lat = 38 ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; lon = 144 ;<br>
variables:<br>
&nbsp; &nbsp; &nbsp; &nbsp; double time(time) ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time:long_name = "time" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time:units = "days since 1980-01-01 00:00:00" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time:calendar = "noleap" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time:bounds = "time_bnds" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; double lat(lat) ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat:long_name = "latitude" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat:units = "degrees_north" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; double lon(lon) ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon:long_name = "longitude" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon:units = "degrees_east" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; float FLNT_anom(time, lat, lon) ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FLNT_anom:_FillValue = -999.f ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FLNT_anom:long_name = "OLR Anomalies from Raw Daily<br>
Climatology" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FLNT_anom:units = "W/m2" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; float FLNT_anom_sm(time, lat, lon) ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FLNT_anom_sm:_FillValue = -999.f ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FLNT_anom_sm:long_name = "FLNT Anomalies from Smooth Daily<br>
Climatology" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FLNT_anom_sm:units = "W/m2" ;<br>
<br>
// global attributes:<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :creation_date = "Wed Sep &nbsp;5 13:44:55 CDT 2012" ;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :title = "FLNT: Daily Anomalies: 1980-1997" ; }<br>
<br>
----------------------------------------------------<br>
<br>
The error I keep getting when I type "open test.ctl" is:<br>
<br>
Scanning description file: &nbsp;test.ctl<br>
Open Error: &nbsp;Missing or invalid dimension size.<br>
&nbsp; --&gt; The invalid description file record is:<br>
&nbsp; --&gt; XDEF lon 144 &nbsp; &nbsp; &nbsp;LINEAR 0.0 2.5<br>
&nbsp; The data file was not opened.<br>
<br>
<br>
What is wrong with the xdef line? it seems so basic to implement, but it<br>
won't work.<br>
<br>
any help that anyone has would be much appreciated,<br>
<br>
thanks,<br>
<br>
Cara-Lyn<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Cara-Lyn<br>
<br>
<br>
***************************************************<br>
Dr. Cara-Lyn Lappen<br>
Dept. of Atmos. Sciences &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;,__o<br>
Texas A&amp;M University &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _ -\ _&lt;;<br>
Phone: (970) 382-2290 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(*) /' (*)<br>
Cell Phone: (970) 946-6134<br>
Email: <a href="mailto:lappen7@gmail.com">lappen7@gmail.com</a><br>
***************************************************<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br></div>
_______________________________________________<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></blockquote></div><br></div></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><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"></span></span></span>
</div>
<br></div></div></body></html>