Skip to content

[ERROR MODULE] error handling in model, satellite and collocation module - #106

Open
lenny-frno wants to merge 7 commits into
bohlinger:masterfrom
lenny-frno:lenny.hucher/centralised_error_module
Open

lenny-frno wants to merge 7 commits into
bohlinger:masterfrom
lenny-frno:lenny.hucher/centralised_error_module

Conversation

@lenny-frno

@lenny-frno lenny-frno commented Aug 10, 2026 •

Copy link
Copy Markdown

Context

Before the code contained many try : except Exception as e blocks which swallow errors without distinguishing them. This does not help with debugging.

Changes

Created a proper error module with a wavy error class and subtypes of errors per modules. I made the integration for the 3 most affected modules, model, satellite and collocation.
Now the user can decide to do
Except WavyError as e: to filter Wavy specific errors or even Except SatelliteError as e: for the errors related to the satellite class

Test Instructions

@lenny-frno lenny-frno changed the title [MODEL MODULE] error handling in _make_model_filename_wrapper [ERROR MODULE] error handling in model, satellite and collocation module Aug 13, 2026
@lenny-frno
lenny-frno marked this pull request as ready for review August 13, 2026 12:49
Lenny HUCHER added 7 commits August 26, 2026 10:59
…one aspect of wavy to filter specifically the errors from one module.
…ow raises a wavy error when the model files are not found.
…tFoundError, ModelPathTemplateError, ModelProcessingError, ModelReadError
…one aspect of wavy to filter specifically the errors from one module.
…ow raises a wavy error when the model files are not found.
@lenny-frno
lenny-frno force-pushed the lenny.hucher/centralised_error_module branch from 097fa40 to bc39887 Compare August 26, 2026 09:02
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.

1 participant