credit.cli._plot
================

.. py:module:: credit.cli._plot

.. autoapi-nested-parse::

   credit plot and credit metrics command handlers.



Attributes
----------

.. autoapisummary::

   credit.cli._plot.logger


Functions
---------

.. autoapisummary::

   credit.cli._plot._build_channel_map
   credit.cli._plot._build_denorm_stats
   credit.cli._plot._plot
   credit.cli._plot._metrics


Module Contents
---------------

.. py:data:: logger

.. py:function:: _build_channel_map(conf)

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


.. py:function:: _build_denorm_stats(conf)

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


.. py:function:: _plot(args) -> None

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


.. py:function:: _metrics(args) -> None

   Run WeatherBench2-style evaluation and optionally generate scorecard plots.


