cta-observatory / pyeventio

Python read-only implementation for the EventIO data format used by the CORSIKA 7 IACT extension and sim_telarray
MIT License
10 stars 12 forks source link

Support For EOS filesystem #256

Open zhipzhang opened 1 year ago

zhipzhang commented 1 year ago

As far as I know, the eos file system can be read by xrootd and Http protocol. In xrootd Protocol, It seems that we can use TFile::Open(?filetype=raw) to read a binary file and need to use ReadBuffer to specify how many bytes you want to read. I think it may be helpful to change tools.py

Http I don't know too much about it .

Hope can get some suggestions from you. Thank you !

maxnoe commented 1 year ago

@zhipzhang Could you provide a link to a simtel array file in the eos?

zhipzhang commented 1 year ago

It's hard to provide that... ,EOS is installed in the Unix system and the file restored in it can only be read by the user of the server.