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: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by tomvothecoder
Comment options

You must be logged in to vote
1 reply
@pochedls
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants