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

FIX: refactor dbdreader code to just do one pass #118

Merged
merged 3 commits into from
Nov 30, 2022

Conversation

jklymak
Copy link
Member

@jklymak jklymak commented Oct 2, 2022

dbdreader will sync other variables with a main variable. Here make the main variable adjustable, and sci_water_temp by default. Some troublesome files work better under this scheme than the old scheme of using time (the time stamp seemed corrupt in the bad files).

The only issue here may be memory usage for large data sets? There may need to be a way to read files in batches at some point, but hopefully this works for now. If it doesn't another approach is to go back to the old way, and just sync this way.

@jklymak
Copy link
Member Author

jklymak commented Oct 3, 2022

@hvdosser if you get a chance this week, can you run this version on a delayed-mode data set and make sure the results are comparable to the old processing? I think some of the interpolation will be different, but...

@jklymak
Copy link
Member Author

jklymak commented Nov 8, 2022

@hvdosser did you try this branch yet? If it's OK, please merge. Thanks!

@hvdosser
Copy link
Collaborator

Compared branch with main branch for delayed mode data for one mission. The L0 time series and grid files were very slightly smaller, and the processing ran more quickly. Data looked good, and metadata was unchanged. Merging.

@hvdosser hvdosser merged commit 9dd2b76 into c-proof:main Nov 30, 2022
@jklymak jklymak deleted the fix-refactor-dbdreader branch December 6, 2022 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Value Error of conflicting sizes for dimension 'time' and 'distance over ground'
2 participants