File not found error on Azure ADLS gen 2 #1654
-
Description To me it seems like pydicom is not able to judge that the path is not local but ADLS path. Expected behavior Steps To Reproduce
Environment Error |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I don't know anything about ADLS, but pydicom's |
Beta Was this translation helpful? Give feedback.
-
I had a quick look at the ADLS documentation, and as far as I can see, there is no possibility to directly access a file on the storage, you have to download it first (which is the way cloud storage usually works). So @darcymason already answered this - you have to download the file using the ADLS API and access the local copy. |
Beta Was this translation helpful? Give feedback.
I don't know anything about ADLS, but pydicom's
dcmread
needs either a filename or a "file-like object" passed to it. If there are libraries for ADLS that can give you one of the latter, you shouldn't have any problems. If not, you'd have to retrieve the file and store locally and then read from there.