<div>In regards to your second question would this work?</div>
<div> </div>
<div>'sdfopen <a href="http://uwnd.2001.nc">uwnd.2001.nc</a>'</div>
<div>'define dx=cdiff(uwnd,x)'</div>
<div>'define dxdy=cdiff(dx,y)'</div>
<div>'define dxdydz=cdiff(dxdy,z)'</div>
<div> </div>
<div> </div>
<div>or something like this.</div>
<div> </div>
<div>-Jason<br><br></div>
<div class="gmail_quote">On Tue, Feb 9, 2010 at 1:55 PM, Jeffrey Duda <span dir="ltr"><<a href="mailto:jdduda@iastate.edu">jdduda@iastate.edu</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I have two questions.<br><br>1) How do you write data out to a file in text format? I know there is an fwrite command, but I don't really know how it works.<br>
<br>2) Can the cdiff command work when three environment dimensions are varying? I'm trying to compute EPV, but to do so, I need to do a cdiff command in the x, y, and z dimensions, but I always get an error and usually Grads crashes when I do it.<br>
<br>Jeff Duda<br clear="all"><font color="#888888"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>
</font></blockquote></div><br>