Skip to content

computing mean angle #6058

Answered by max-sixty
axelschweiger asked this question in Q&A
Dec 9, 2021 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Generally the easiest approach is to use functions rather than methods — i.e. angle_mean = compute_angle_mean(array). It's possible to use duck typing in python to replace methods, but it's a difficult abstraction to manage. Xarray doesn't support swapping out functions.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@axelschweiger
Comment options

@keewis
Comment options

@axelschweiger
Comment options

@keewis
Comment options

@axelschweiger
Comment options

Answer selected by max-sixty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants