-
Notifications
You must be signed in to change notification settings - Fork 76
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
Account for conversion
-> combination
change in Provenance
attribute
#810
Comments
Based on discussion in #811, I'm changing the Milestone tag to 0.6.4 |
This seems also an issue that we are in a position to address once and for all. |
@emiliom and @leewujung discussed this: we will not remove these provenance attributes and just use a long |
The Adding equivalent But before settling on that scheme, I'll ask the SONAR-netCDF4 community about the interpretation of these "conversion" provenance attributes. Specifically, should a combine-data processing step be interpreted as another type of conversion step? In that case, we should just reuse the I'll hold off on working on this until PR #1042 is merged. But I'll plan to ask the SONAR-netCDF4 community soon. |
I think reusing the “conversion” set of attributes to store the “combination” information is potentially problematic, because we will lose the info pertaining to each originally converted files. It will also make it much harder to keep track of what’s converted from the individual raw file and what’s combined afterwards (and therefore does not 1-1 corresponding raw files). I suggest that we just keep “conversion” and “combination” separate. Also, for distinguishing if a file is previously combined or just converted: in discussing with @lsetiawan on #1042, I thought we can add a global attribute to the Too-level group combine = True or False. This way we can easily work with the files without having to load the metadata from specific groups, and just use the very light weight Top-level group for this information. I have not actually reviewed the PR to see it’s implemented, but even if not, it’s a relatively small change to make. |
The I believe that in other cases of global attributes, lists are created from the collection of inputs and variables in the |
I think
I think previously we talked about potentially having a |
Yes, that's still the plan. |
Addressed in #1113. Closing the issue |
In PR #806
conversion
was changed tocombination
incombine.py
. This causes issues when displaying a combined file because we specifically obtain the version from theProvenance
attributes:echopype/echopype/echodata/echodata.py
Lines 183 to 186 in 47b827a
I don't believe this will causes issues with other portions of the codebase.
The text was updated successfully, but these errors were encountered: