[Thread Prev][Thread Next][Index]

@max function



Hello-
I am searching over a 2d grid and defining the maximum value of a variable in the 3rd dimension.
let a=var[i=1:350,j=1:308,k=1:31@max]

how do I then use the k level that has the max value for variable var as an arguement for another variable to do this:
let a=var[i=1:350,j=1:308,k=1:31@max]*rho[i=1:350,j=1:308,k= ??]

any ideas are 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

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement