credit.cli._plot#

credit plot and credit metrics command handlers.

Attributes#

Functions#

_build_channel_map(conf)

Return a dict mapping variable name -> list of channel indices in the output tensor.

_build_denorm_stats(conf)

Return (mean_arr, std_arr) aligned with ERA5Dataset target channel order.

_plot(→ None)

Load checkpoint, run one forward pass, produce global maps.

_metrics(→ None)

Run WeatherBench2-style evaluation and optionally generate scorecard plots.

Module Contents#

credit.cli._plot.logger#
credit.cli._plot._build_channel_map(conf)#

Return a dict mapping variable name -> list of channel indices in the output tensor.

credit.cli._plot._build_denorm_stats(conf)#

Return (mean_arr, std_arr) aligned with ERA5Dataset target channel order.

credit.cli._plot._plot(args) None#

Load checkpoint, run one forward pass, produce global maps.

credit.cli._plot._metrics(args) None#

Run WeatherBench2-style evaluation and optionally generate scorecard plots.