Closed anantmittal closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
0bc534e
) 77.04% compared to head (4215dd7
) 93.00%. Report is 27 commits behind head on dev.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@anantmittal Could you please fix the pre-commit failure. Thanks!
@leewujung I know this is quite different from what you were looking for in https://github.com/OSOceanAcoustics/echopype/issues/1165#issuecomment-1776360813. I've created a separate issue for that in https://github.com/OSOceanAcoustics/echopype/issues/1200. Would be able to review this and see for this specific case that it's all good? Thanks!
rather than assuming the 3rd dimension is range_sample, if the intention is to grab range_sample dimension, what about actually finding its index and use it to be error-proof? in terms of traversing the blocks, for larger combined datasets, usually the ping_time dimension will be the largest. I wonder if it is worthwhile to do this blocking along the ping_time dimension, especially if we're looking to change to use map_block in the future?
@leewujung I think I've addressed your concerns now, please let me know what you think. Thanks! 😄
@leewujung is this good to go?
@lsetiawan : Looks good. Thanks for the changes!
~Fixes #1165~
@leewujung update: This PR does not actually addresses #1165 (see https://github.com/OSOceanAcoustics/echopype/issues/1165#issuecomment-1776360813), but it optimizes the frequency-differencing operations by
map_blocks
, which is great.