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

Please help #47

Open
raman-maker opened this issue Jun 20, 2024 · 2 comments
Open

Please help #47

raman-maker opened this issue Jun 20, 2024 · 2 comments

Comments

@raman-maker
Copy link

raman-maker commented Jun 20, 2024

See this link
https://discourse.julialang.org/t/python-cis-read-data-function-error/115748/5
I am Julia language to read hdf5 file using CIS library. I am using PythonCall.jl to use python api for CIS library within Julia.

@adamcpovey
Copy link
Contributor

That error means "I don't know how to open this file". My guess is that your Python 2.7 environment points to a local plugin file that defines how to open a athdf file and that Julia, using a different path, does not import that plugin.

A solution would be to look into the documents to see how to make your own plugin that defines what is inside that file and how to ensure Julia can find it.

Alternatively, as the julia thread recommends, use a generic HDF reader within Julia and then call CIS as an API (explained here) for whatever functionality you desired.

@raman-maker
Copy link
Author

raman-maker commented Jun 20, 2024

your Python 2.7 environment points to a local plugin file that defines how to open a athdf file
Is there anyway to know that environment?

OH, yes i see a line ""from pyfiles import read_athinput ""

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

2 participants