[Thread Prev][Thread Next][Index]

Re: coordinate to variable



Jimmy,
Ferret lets you use coordinates as variables called
"pseudo-variables".  You can do the kind of thing 
you're talking about with the pseudo-variable Z : 

let zpts = z[gz=temp]
let the=temp[l=1:25,k=1:24]*(1000./zpts)^(287/1005)


--- jimmyc@iastate.edu wrote:

> Ferreters-
> I have a netCDF file with pressure as a vertical
> coordinate. I would like 
> to use the coordinate as a variable in a .jnl file.
> Does anyone know how to accomplish this?
> 
> I have tried to create a new variable that mimics
> the vertical coordinate:
> let
>
pres=zsequence({...700,750,800,825,850,875,900,925,950})
> 
> let the=temp[l=1:25,k=1:24]*(1000./pres)^(287/1005)
> but only the last numeric value of pres is left for
> all the vertical 
> coordinates.
> 
> Any help is greatly appreciated.
> Thanks for reading...
> 
> -- 
> James Correia Jr.
> Ph.D. Candidate in Agricultural Meteorology
> President (Dictator) of the ISU Graduate Meteorology
> Club
> Dept. of Agronomy, Iowa State University
> *********************************************
> Email: jimmyc@iastate.edu
> Phone: 515-294-5587
> Web: http://www.mesoscale.iastate.edu/jimmyc/
> ISU GMC: http://www.stuorg.iastate.edu/gmc/
> *********************************************
> "There is a difference between knowing the path and
> walking the path"
> -"Morpheus"
> 
> "Scientific theories are built to be used, but they
> must be mistrusted, 
> tested and improved."
> -Balik and Frank 
> 
> 




		
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement