hydromodpy.analysis.capability_gallery#
Selective publication of run figures into the documentation gallery.
Two production paths are supported:
Render on demand (preferred) - when a
Runand a render callback are provided, each asset name is interpreted as<figure_name>.pngand rendered byrender_figure(figure_name, run, save=...). The callback is supplied by a higher layer (typicallyhydromodpy.display.runs.render_figure()) so analysis stays decoupled from the display package.Copy existing file (fallback) - if no callback is available or the figure cannot be rendered, the publisher looks for a matching PNG in one of the candidate subdirectories of the run folder (
_postprocess/_figures,figures,_figures) and copies it verbatim. Missing assets are listed in the manifest.
Functions
|
Publish selected figures into the versioned gallery folder. |