Skip to content
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

Investigate all dynamically set sections of the cdf file when writing #288

Open
bryan-harter opened this issue Jan 13, 2025 · 0 comments
Open

Comments

@bryan-harter
Copy link
Member

In PR #287 I had to make a change to the creation of an aedr. In it, is used to determine the size of the AEDR by calculating the length of the string. This led to issues where the length of the data object we were writing did not match the expectations one would have when reading the file. So I changed it to:

value_size = recs * self._datatype_size(dataType, numElems)

from

value_size = len(cdata)

Are there other locations in the code where this problem also arises?

@bryan-harter bryan-harter moved this from To triage to Backlog in cdflib development Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant