Writing out to a file and cdiff
Jason Snyder
jmssnyder at UCDAVIS.EDU
Tue Feb 9 17:43:45 EST 2010
In regards to your second question would this work?
'sdfopen uwnd.2001.nc'
'define dx=cdiff(uwnd,x)'
'define dxdy=cdiff(dx,y)'
'define dxdydz=cdiff(dxdy,z)'
or something like this.
-Jason
On Tue, Feb 9, 2010 at 1:55 PM, Jeffrey Duda <jdduda at iastate.edu> wrote:
> I have two questions.
>
> 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.
>
> 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.
>
> Jeff Duda
>
> --
> Jeff Duda
> Iowa State University
> Meteorology Graduate Student
> 3134 Agronomy Hall
> www.meteor.iastate.edu/~jdduda
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100209/650723c6/attachment.html
More information about the gradsusr
mailing list