-
Notifications
You must be signed in to change notification settings - Fork 74
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
Remove NMEA sentence selection from open_raw
#580
Comments
open_raw
open_raw
@leewujung please correct me if I am misunderstanding something, but based off of #673 (comment) it seems like we should not implement this (at least for the EchoData object). As I recall, it will cause several downstream issues that have little to no upside.
If our goal is to have level 0 be an authentic reproduction of the raw data, then does it make sense to make |
@b-reyes : I am not sure what you mean, because this PR is exactly to remove the currently unused (and cannot be used) NMEA sentence selection mechanism, so that there is no optional argument in |
@b-reyes : reading what i wrote earlier again, I guess we were probably talking about different things... Maybe you were referring to the fact that we cannot preserve all the NMEA sentences? If so, I agree. I think my issue cobbled two things so probably can be revised. In my mind the thing to be removed is the option for user to say they only want a further subset of those GPS position sentences. (and that we still have to select these sentences out from all the NMEA sentences). |
@leewujung that makes sense now. Great, I have no problem with this. Does this new objective sound good @leewujung? Objective: Remove the option that allows the user to select a subset of the GPS position sentences and we should continue to select the same NMEA sentences. Specifically, we should only select the NMEA sentences: |
@b-reyes : Yes, I think you are spot on! Thanks for keeping clear eyes on this! Feel free to edit the issue text as you see fit. |
PR #778 achieved the new objective of this issue, I will go ahead and close this now. |
Context
This is leftover work from the overhaul at v0.5.0:
We should remove the variable
NMEA_SENTENCE_DEFAULT
that is defined inechopype/echopype/convert/api.py
Line 26 in 5cf1153
and
echopype/echopype/convert/convert.py
Line 11 in 5cf1153
We are pretty clear now that we want the level 0 converted data product to be authentic reproduction of the raw data generated from the instruments. Therefore, there should not be any selection of data within
open_raw
, so we need to remove this mechanism.We should have this mechanism as a data processing function for higher levels, since not all NMEA sentences have the same resolution and that can cause problems in plotting ship tracks, but that would be a separate issue/PR.
Task
The text was updated successfully, but these errors were encountered: