Skip to content

Fix channel-frequency mapping in compute_MVBS#1698

Open
LOCEANlloydizard wants to merge 1 commit into
echostack-org:mainfrom
LOCEANlloydizard:fix-mvbs-channel-frequency
Open

Fix channel-frequency mapping in compute_MVBS#1698
LOCEANlloydizard wants to merge 1 commit into
echostack-org:mainfrom
LOCEANlloydizard:fix-mvbs-channel-frequency

Conversation

@LOCEANlloydizard

@LOCEANlloydizard LOCEANlloydizard commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Fixes a channel/frequency mismatch in compute_MVBS for datasets where frequency_nominal is stored as (ping_time, channel) (e.g. AZFP). The output now preserves the channel order returned by compute_raw_MVBS and aligns frequency_nominal accordingly. Also added regression tests but I'll keep #1682 open, as I'd like to add a few more tests! (like with AZFP file)

Ref #1682

@leewujung
leewujung removed the request for review from dbashford-NOAA July 11, 2026 16:01

@leewujung leewujung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LOCEANlloydizard : Thanks for this PR! Look great and I think it's ready to be merged.

The only thing I wonder about is why the ping_time dimension shows up in frequency_nominal. Is there something that should be fixed upstream?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants