[Thread Prev][Thread Next][Index]

Re: global mean values




On Sat, 18 Dec 1999, Karen Bice wrote:

> 
> Sorry for having to ask such a basic question, but ...
> I have a netcdf file of 3-D ocean model data and I want to simply to
> print out the global average value of a field such as temperature  (avg
> over the entire range of x, y, and z). How do I do it?
> 


One could use the LIST command to show the value of a variable,
eg. temp. Since you want the average over x,y,z, use the TRANSFORMATION
@ave. So type at the ferret prompt:
LIST temp[x=@AVE, y=@AVE, z=@AVE]

For more info, please see the LIST command in Part II of the User's
Guide, and Part I, Section 2.4 (?) on TRANSFORMATIONS.

Rob Scott 



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement