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

Public access of files over https seems to be broken with xrootd #11

Open
matthewfeickert opened this issue Jun 20, 2024 · 3 comments
Open
Assignees

Comments

@matthewfeickert
Copy link
Member

matthewfeickert commented Jun 20, 2024

In

https://github.com/iris-hep/uscms-idap-training/blob/437edaf5ef9cf961e047cadc16721d77d144e907/coffea/coffea-challenge-samplegame.ipynb

the following patch for people without access should have worked for @nsmith-'s example

prefix = 'https://xrootd-local.unl.edu:1094//store/user/AGC/samplegame/'
samples = [
    NanoEventsFactory.from_root(f"sample{i}.root").events()
    for i in range(6)
]

but is broken at the moment. The following hack around worked,

import os
_url = "https://xrootd-local.unl.edu:1094//store/user/AGC/samplegame"
[os.system(f"curl -sLO {_url}/sample{file_idx}.root") for file_idx in range(6)]

samples = [
    NanoEventsFactory.from_root(f"sample{i}.root").events()
    for i in range(6)
]

but this is not what should be done generally.

@lgray
Copy link
Collaborator

lgray commented Jun 20, 2024

After talking with @oshadura we showed this fails with uproot alone as well.

So this may be an fsspec or uproot issue.

@matthewfeickert
Copy link
Member Author

What uproot version? Though I see that @oshadura is writing an uproot Issue, so maybe she can link that here when she's done.

@oshadura
Copy link
Member

scikit-hep/uproot5#1233

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