MillionConcepts / pdr

[P]lanetary [D]ata [R]eader - A single function to read all Planetary Data System (PDS) data into Python
Other
60 stars 7 forks source link

Support reading from URL #31

Closed msbentley closed 2 years ago

msbentley commented 2 years ago

I'm not sure if this is expected behaviour, but passing a URL to a data product (PDS3/4 detached label or PDS3 product with attached label) gives a FileNotFoundError error trying to open the "parent" directory. (note that the pds4 tools reader supports this natively, but not when pdr is used on a PDS4 label).

m-stclair commented 2 years ago

It's expected behavior, although we should probably return a more useful error message. pdr doesn't currently support read-over-HTTP. We have some exploratory plans for this, but haven't fully defined how we'd like the interface and architecture to work.

msbentley commented 2 years ago

OK, thanks - I look forward to the future feature! Feel free to close this issue :)