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

Expand read support for higher dimension data #16

Open
rstoneback opened this issue Oct 14, 2019 · 2 comments
Open

Expand read support for higher dimension data #16

rstoneback opened this issue Oct 14, 2019 · 2 comments
Assignees

Comments

@rstoneback
Copy link
Collaborator

pysatCDF currently uses a Fortran interface to the underlying CDF library. Each time a variable is loaded the code needs to open the file, read the variable, then close the file. Each variable type requires its own function. To reduce read time, all variables of a given type and dimensionality (<=2) are all read at once. The memory passed to Fortran is sized based off of the largest dimensions, so loading 1D and 10D data together is inefficient.

Convert the raw fortran read routines to support the highest CDF dimension (10?).
Keep current loads of 1D and 2D together. Then load 3D, 4D, 5D, as needed, individually.

@rstoneback
Copy link
Collaborator Author

This will enable pysat to load all NASA data.

@asherp
Copy link
Contributor

asherp commented Nov 19, 2019

Is there an example file I can test on?

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

3 participants