-
Notifications
You must be signed in to change notification settings - Fork 19
BUG: setting Data_version in write_cdf #1738
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
BUG: setting Data_version in write_cdf #1738
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Would you also be able to update the CLI and this code to set the version to "001" instead of "v001" as requested by Andriy? Should just be able to chop it to the last thee characters in those two spots.
Oof :( Do we need to update this in imap-data-access too so we can reference the version everywhere as just 3 numbers and only our filenames would print out |
@greglucas Can you help me with this work? |
@greglucas AFAIK it is just in the attribute within the file, but Veronica brought it up. No way should we change the filename again - they had their chance to say no! |
I think imap-data-access and everything else uses the filename, so it shouldn't affect anything except (maybe?) the reading in and writing out of files |
💯 I completely agree :) I think in all of our |
@greglucas yes that was exactly what I was thinking, just change the attribute. It wasn't even added into files consistently until recently so I don't think it's used anywhere. |
SPDF does not want vXXX in their attribute, they would prefer XXX. This updates the Data_version attribute, but still puts the vXXX in the filename.
@tech3371, I just pushed a commit that updates the |
Thank you @greglucas. Changes looks good to me. Would you like me to merge it? |
Yes, if you are OK with those changes then please merge. |
2870eb1
into
IMAP-Science-Operations-Center:dev
Change Summary
Overview
small change to fix Data_version=None throwing error on loading CDF file.
Updated Files