-
Notifications
You must be signed in to change notification settings - Fork 19
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
Opening QUB image gives pvl.decoder.ParseError #71
Comments
@pedrohasselmann, so it looks like the Dawn data have detached headers, such that for each .QUB file, there is a separate .LBL file right next to it in the PDS volume. I downloaded both, and ran:
This tells me that the PDS label gets parsed just fine by the Python
Of course, there's no surprise that the library can't attempt to parse PVL text from binary image data, when you know what's happening. It seems that you're maybe using the 0.3 version of Typically, these PDS images with detatched headers have a certain kind of PVL record in them that acts as a pointer into the data, and you usually do things with the However, it is important to note that this is not an ISIS Cube file, and so using the Good luck! |
Thanks @rbeyer , Actually, I have installed pvl 1.0.1. Indeed, by passing the .LBL file rather than .QUB I get a different error message from pvl: KeyError: '^IMAGE' I think that means that he can't find the associated .QUB data. I ask myself, is there a way to pass both .LBL and .QUB files through the PDS3Image argument? I can't find that option on the readthedocs. |
Are you getting that error from I suspect it is coming from So that's an issue with the Since the label is just a text file, you could go and try changing I'm not sure what your overall goal is, but there might be better avenues to accomplish it than the |
I'm using planetaryimage. That's what I actually thought so. I will try to open an issue there and propose to add a new input to their PlanetaryImage class where users can pass the proper key that actually matches their data label. Thanks @rbeyer! |
Good luck! |
Hi
I'm running on the following error when I try to open a QUB image cube issued from NASA/DAWN mission:
pvl.decoder.ParseError: Unexpected token b'>' (expected b'='): line 1 column 2 (char 1)
I'm passing the following commands using Python 3.8.5:
The installation seems ok, running "import planetaryimage" or "import pvl" does not return any error.
The text was updated successfully, but these errors were encountered: