[Thread Prev][Thread Next][Index]
Re: getting a specific value and its associated depth in a Z-profile
On 8 Oct 2004, Vincent Le Fouest wrote:
> I have a vertical profile of a variable. To get the maximum value of the
> variable on the z axis I use Z=@MAX. But I also want to get the depth
> associated to this maximum value. I tried several ways to do it but
> without success. Would You have an idea for it
Dear Vincent,
See the example in the User's Guide:
http://ferret.wrc.noaa.gov/Ferret/Documentation/Users_Guide/current/Chapter3_Variables_and_Expressions.htm#_VPINDEXENTRY_483
Example: locating non-constant values
Determine the depth of maximum salinity.
yes? LET max_salt = salt[Z=@MAX]
yes? LET zero_at_max = salt - max_salt
yes? LET depth_of_max = zero_at_max[Z=@LOC:0]
Andrew
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement