<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Jason,<br><br>I don't know how to use the xconv utility. However, you can write a data descriptor file (.ctl) for your NetCDF file if you know the dimensions, variables, and
attributes of your file.<br><br>First, do a "ncdump -h foo.nc''&nbsp; to see the header of your NetCDF file.<br>Then, look at this page which simply describes how to write a descriptor file.<br><br>http://www.iges.org/grads/gadoc/aboutgriddeddata.html#descriptor<br><br>I hope this helps.<br>Azar<br><br>--- On <b>Fri, 11/20/09, Jason Snyder <i>&lt;jmssnyder@UCDAVIS.EDU&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jason Snyder &lt;jmssnyder@UCDAVIS.EDU&gt;<br>Subject: making<br>To: GRADSUSR@LIST.CINECA.IT<br>Date: Friday, November 20, 2009, 10:32 PM<br><br><div class="plainMail">I have a NetCDF data set that is a composite of wind data based on certain<br>phases of the Madden Julian Oscillation and I was interested in looking at<br>the backwards trajectories of air parcels coming into Lake Tahoe in such a<br>scenario.&nbsp; I have been trying to work with the script
 traj.gs, but GrADS<br>said that TDEF is undefined.&nbsp; I was then told that I need to use a .ctl<br>file, but how do I convert data in NetCDF format to that that can be used<br>in a .ctl file which I would need to run the script traj.gs.&nbsp; Someone<br>suggested that I use Use xconv utility, which has the website:<br><a href="http://badc.nerc.ac.uk/help/software/xconv/" target="_blank">http://badc.nerc.ac.uk/help/software/xconv/</a><br><br>However, I could not figure out how to use this program to convert a<br>NetCDF file to a .ctl file.&nbsp; Can someone show me how to use this program,<br>or some other ways to obtained .ctl files that I could use in running the<br>traj.gs script?<br><br>Thanks,<br><br>Jason<br></div></blockquote></td></tr></table><br>