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

vdf_reduce.py calling modules (typo) #22

Open
harryclewis opened this issue Dec 4, 2024 · 0 comments
Open

vdf_reduce.py calling modules (typo) #22

harryclewis opened this issue Dec 4, 2024 · 0 comments

Comments

@harryclewis
Copy link

Hi Louis,

vdf_reduce.py has two issues:
Line 252: v_gse = resample(v_gse, vdf.time) should be v_gse = resample.resample(v_gse, vdf.time)
Line 266: v_xyz = sph2cart(np.deg2rad(phi_mat), np.deg2rad(theta_mat), v_mat) should be v_xyz = sph2cart.sph2cart(np.deg2rad(phi_mat), np.deg2rad(theta_mat), v_mat)

These changes allow the function to be used successfully.

Cheers,
Harry

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