<a id="api"></a>

# ESMValTool Code API Documentation

ESMValTool is mostly used as a command line tool. However, it is also possible
to use (parts of) ESMValTool as a library. This section documents the public
API of ESMValTool.

## Shared Diagnostic Code

* [Shared diagnostic script code](esmvaltool.diag_scripts.shared.html.md)

## Diagnostic Scripts

* [Drought Diagnostics](esmvaltool.diag_scripts.droughts.html.md)
* [Emergent constraints diagnostics](esmvaltool.diag_scripts.emergent_constraints.html.md)
* [Calculating and displaying multiple representations of the CH4 lifetime](esmvaltool.diag_scripts.lifetime.html.md)
* [Monitor Diagnostic](esmvaltool.diag_scripts.monitor.html.md)
* [Ocean diagnostics toolkit](esmvaltool.diag_scripts.ocean.html.md)
* [Seaborn Diagnostic](esmvaltool.diag_scripts.seaborn_diag.html.md)
* [Plotting 1D Histograms](esmvaltool.diag_scripts.plot_histogram.html.md)
* [Portrait Plot](esmvaltool.diag_scripts.portrait_plot.html.md)
* [Transient Climate Response to Cumulative CO<sub>2</sub> Emissions (TCRE)](esmvaltool.diag_scripts.climate_metrics.tcre.html.md)
* [Zero Emissions Commitment (ZEC)](esmvaltool.diag_scripts.climate_metrics.zec.html.md)
* [Hour of Maximum Precipitation](esmvaltool.diag_scripts.hydrology.hour_of_max_precipitation.html.md)
* [Tropical CPT Hovmoeller Diagnostic](esmvaltool.diag_scripts.tropopause.cpt_hovmoeller.html.md)
