Added by Shizhu Wang almost 5 years ago
Hi,
in cdo we can use vertmax to get the maximum value at each grid point in the vertical direction. Is there a way to konw the location of the maximum value?
In another word, how do I know from which layer does the maximum value come from?
Kind regards,
Shizhu
hi!
You could create a 0-1-mask based on the computed maxima using the gt
operator like this:
cdo -gt <input> -vertmax <input> <output-mask>The results file should be a 3d-mask, where a
1
indicates the location of a maximum value.
hth
ralf