Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mean value of longitude angles #2

Open
TillLeiden opened this issue May 29, 2020 · 0 comments
Open

mean value of longitude angles #2

TillLeiden opened this issue May 29, 2020 · 0 comments

Comments

@TillLeiden
Copy link

TillLeiden commented May 29, 2020

Hi,
I noticed, that you are calculating the mean value of the longitudinal angles in __nddnisd_interp_fn(). The problem is, if you are using np.mean you are adding e.g. -175 and 180 to 2.5 and not the -177.5. This can be fixed by using scipy.stats.circmean().

However, when I changed it, I noticed that the results look wrong, but I don't understand why at the moment. Do you have any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant