Open fredifqh opened 3 years ago
Hello, I'm having the same problem.
----> 1 fromfits = vaex.open("file.evt")
~/anaconda3/envs/py38/lib/python3.8/site-packages/vaex/__init__.py in open(path, convert, shuffle, fs_options, fs, *args, **kwargs)
223 ds = vaex.dataset.open(path_output, fs_options=fs_options, fs=fs, **kwargs)
224 else:
--> 225 ds = vaex.dataset.open(path, fs_options=fs_options, fs=fs, **kwargs)
226 df = vaex.from_dataset(ds)
227 if df is None:
~/anaconda3/envs/py38/lib/python3.8/site-packages/vaex/dataset.py in open(path, fs_options, fs, *args, **kwargs)
85 raise IOError(f'Cannot open {path}, failures: {failures}.')
86 else:
---> 87 raise IOError(f'Cannot open {path} nobody knows how to read it.')
88
89
OSError: Cannot open file.evt nobody knows how to read it.
@matteobachetti
I don't know what kind of file that .evt
is, but in any case it is not supported by vaex. Please use a memory mappable file format like hdf5 (column based), arrow, parquet or csv.
@JovanVeljanoski oh, sorry, my bad.
It's an OGIP-compliant FITS file. evt
is so commonly used in X-ray astronomy that I didn't think about the extension!
Thanks for your time
Is this still an issue? Or did adjusting the extension did the trick?
Dear Marteen,
I can't open a fits file (attached in the message) using:
I get the following error
Thanks for your answer in advance test.zip