Skip to content

Fix missing get_solar_data import error#16

Merged
skyelaird merged 2 commits intomainfrom
claude/fix-solar-data-import-01LeoZiXcgkvkMc1wK2h7fpA
Nov 13, 2025
Merged

Fix missing get_solar_data import error#16
skyelaird merged 2 commits intomainfrom
claude/fix-solar-data-import-01LeoZiXcgkvkMc1wK2h7fpA

Conversation

@skyelaird
Copy link
Copy Markdown
Owner

No description provided.

The generate_predictions.py script was importing get_solar_data from
the solar module, but this function doesn't exist. The import was
unused anyway - the script uses its own fetch_solar_conditions()
function to get solar data from NOAA.

Fixes: Generator failed error when importing DVOACAP modules
Changed engine.muf_calculator.muf to engine.circuit_muf.muf.
MufCalculator is the class that performs calculations, while
CircuitMuf is the result dataclass that contains the actual MUF value.

The previous code was checking for muf_calculator (which exists) but
trying to access a .muf attribute that doesn't exist on that class,
causing MUF values to always be 0 in predictions.

Fixes: MUF values always showing as 0 in prediction output
@skyelaird skyelaird merged commit b6aed31 into main Nov 13, 2025
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