Skip to content

Anybody run into the need to average over Z axis (e.g., cdutil.averager(tvar, axis="z")), and what did you use? #591

Discussion options

You must be logged in to vote

@tomvothecoder – I have not done this recently, but I think the same algorithm would be valid for depth / pressure coordinates (weights should generally scale as the difference between the bound values for each cell). I think it would make sense to extend get_weights to be able to handle vertical axes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tomvothecoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants