-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error with missing units #2
Comments
Thanks for your interest. I'm glad you find it useful. Yes, having a unit that varies based on context would be challenging to add. I'm thinking that I can define "localday" as a new
Regarding the other units: I see that plural names are generally allowed by PDS3, so I'll see if I can sanitize the PDS3 the string before converting to astropy units. |
OK, I've made an update to address the units, but the bit mask isn't parsing. I'll need to work on that tomorrow. |
Cool, thank you! I ran into that issue as well, and just commented it out for now since I didn't need it. |
Hi, thanks for this library! I ran into a few errors with missing units on a label data file from hirise, and added these lines:
Reference to astropy defining units: https://docs.astropy.org/en/latest/units/combining_and_defining.html
I'm pretty sure
unit_local_day
is wrong, because it represents a 24-hour day according to the astropy documentation, but local day might be defined differently on labels. This could cause issues.I also might be totally wrong that this needs to be added -- I'm new to this kind of data. If this is something that needs to be done, it might be good to add it to this library with fixes.
The text was updated successfully, but these errors were encountered: