Skip to content

Reducing HMB lower limit to 30 degrees#656

Open
ksterne wants to merge 6 commits intodevelopfrom
fix/HMB_lower_limit
Open

Reducing HMB lower limit to 30 degrees#656
ksterne wants to merge 6 commits intodevelopfrom
fix/HMB_lower_limit

Conversation

@ksterne
Copy link
Copy Markdown
Contributor

@ksterne ksterne commented Mar 11, 2026

As discussed in #617 and then more recently within the Data Analysis Working Group meetings, theres a need to reduce the minimum latitude of the HMB to 30 degrees from the 40 degrees it is at now.

I'm not as familiar with this code, so possibly double check that I got the edit correct as I'm going off of what was provided in #617.

I don't have great way to test this beyond a simple compilation test at the moment, but I can generate some data and/or plots if it needs it.

@pasha-ponomarenko
Copy link
Copy Markdown
Contributor

@ksterne, this is not as simple. :-)
To change the minimum latitude for HMB, one needs to edit following three files:
/data/rst/rst-release-rst-5.1/codebase/superdarn/src.lib/tk/hmb.1.0/src/hmb.c

/data/rst/rst-release-rst-5.1/codebase/superdarn/src.lib/tk/hmb.1.0/include/map_addhmb.h

/data/rst/rst-release-rst-5.1/codebase/superdarn/src.bin/tk/tool/map_addhmb.1.17/map_addhmb.c

In each file, all 36s need to be replaced with 46s and 40s need to be replaced with 30s.

@pasha-ponomarenko
Copy link
Copy Markdown
Contributor

pasha-ponomarenko commented Mar 12, 2026

@ksterne, I have done the necessary modifications. The ultimate test would be to generate maps for an active period like 10-11 May 2024 and see if the minimum HMB MLAT goes below 40 deg. Here is an excerpt from my presentation at the last workshop. Pay attention to black dots as they are obtained with the conventional HMB algorithm.

20240510_11storm

@egthomas
Copy link
Copy Markdown
Member

I tested this for 10-11 May 2024 when the HMB was observed to saturate at 40 degrees magnetic latitude (#617). Here is the 48-hour output from hmb_plot with the current 40 degree limit:

202405 hmb old

and here is the output for the same interval using the new 30 degree limit:

202405 hmb new

so things look good to me. Note I made one more change to hmb_plot to support this new lower latitude limit.

@egthomas egthomas self-requested a review April 15, 2026 15:57
@mtwalach
Copy link
Copy Markdown
Contributor

Looks good to me. :)

@egthomas egthomas linked an issue Apr 15, 2026 that may be closed by this pull request
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.

HMB minimum latitude?

4 participants