Skip to content

[WIP] Add high-level merging class for RADOLAN method#81

Open
cchwala wants to merge 4 commits intoOpenSenseAction:mainfrom
cchwala:add_radolan_highlevel_func
Open

[WIP] Add high-level merging class for RADOLAN method#81
cchwala wants to merge 4 commits intoOpenSenseAction:mainfrom
cchwala:add_radolan_highlevel_func

Conversation

@cchwala
Copy link
Copy Markdown
Member

@cchwala cchwala commented Mar 27, 2026

This PR adds a class based on MergeBase to run the RADOLAN adjustment provided by the rh_to_rw() function. As a first pragmatic step, I keep rh_to_rw() as it is and transform the data to pd.DataFrame as needed using the already existing functions and/or example code for that, plus some required adaptions.

TODO:

  • add functioning MergeRADOLAN class
  • adapt example notebook
  • clean up example notebook and consider renaming it
  • add tests

cchwala added 4 commits March 27, 2026 15:07
…stments to work. Later, the interpolator could also be cached like in the other merging classes.
…ample notebook (which is a modified version of the existing notebook that did use the low-level functions)

Several minor things had to be fixed in the module files.

TODO is to check if and how it works when passing CML and gauge or when passing gauges only. There is some logic somewhere that might needs adjustment.
… notebook a few times to see how results change (they do) and results (hexbin plot and metrics) are now the same or very similar to what was there before with the old low-level code notebook. Good!
@cchwala
Copy link
Copy Markdown
Member Author

cchwala commented Mar 27, 2026

This updated notebook from 030c5cc shows the same metrics as before in this notebook when the old lower-level function was used. The hexbin plot also looks very very similar. This means, it works! But tests need still to be added.

@cchwala cchwala changed the title Add high-level merging class for RADOLAN method [WIP] Add high-level merging class for RADOLAN method Mar 27, 2026
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