[Thread Prev][Thread Next][Index]

Re: [ferret_users] Transpose K and Y



Hi Dave,
Yes, there are functions for transposing different grid directions:
yes? show function trans*
TRANSPOSE_XT(VAR)
    transposes X and T axes of given variable
    VAR: variable to transpose in X and T
TRANSPOSE_XY(VAR)
    transposes x and y axes of given variable
    VAR: variable to transpose in X and Y
TRANSPOSE_XZ(VAR)
    transposes x and z axes of given variable
    VAR: variable to transpose in X and Z
TRANSPOSE_YT(VAR)
    transposes Y and T axes of given variable
    VAR: variable to transpose in Y and T
TRANSPOSE_YZ(VAR)
    transposes Y and Z axes of given variable
    VAR: variable transposed in Y and Z
TRANSPOSE_ZT(VAR)
    transposes Z and T axes of given variable
    VAR: variable to transpose in Z and T

Or, if you just want a plot with the axes transposed from their defaults, don't forget the /TRANS qualifier on plot commands.
yes? use levitus_climatology
yes? shade/x=180/y=-20:20 temp
yes? shade/x=180/y=-20:20/TRANS temp


On 10/8/2012 2:52 PM, David Ogier wrote:
Hi all,

This might seem like a very strange question, but does anyone know if you can do a transpose between K and Y like you can between X or Y and T.

example
let DOMAINA = TRANSPOSE_YT(omega[x=10E:37.9E,l=1:20])

Cheers

Dave






[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement