cedadev / cis

Home of the Community Intercomparison Suite.
www.cistools.net
GNU Lesser General Public License v3.0
45 stars 18 forks source link

Please help #47

Open raman-maker opened 3 weeks ago

raman-maker commented 3 weeks ago

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 commented 3 weeks ago

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 commented 3 weeks ago

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 ""