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

Problems with script errata and library usage #48

Open
alanZee opened this issue Jul 23, 2024 · 0 comments
Open

Problems with script errata and library usage #48

alanZee opened this issue Jul 23, 2024 · 0 comments

Comments

@alanZee
Copy link

alanZee commented Jul 23, 2024

Thanks for providing such a pyJHTDB library to make it easy to get relevant data, but I found some problems in using it:

    1. In the script pyJHTDB-master/pyJHTDB/test.py, line 127, the getFunction parameter is filled in incorrectly, according to the context, it should be the parameter to get the pressure gradient, but it is written to get the velocity gradient
Snipaste_2024-07-23_00-01-24
    2. The getData() method often returns an incorrect array when getting a slightly larger slice of the pressure gradient (even if it gets the same batch of points and the code is the same each time)
Snipaste_2024-07-23_14-54-40 Snipaste_2024-07-23_15-03-30 Snipaste_2024-07-23_15-04-23 Snipaste_2024-07-23_14-54-31 Snipaste_2024-07-23_14-54-11
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