mthermogrid

../../_images/MTHERMOGRID.png

This is the visual definition for specifying how a thermodynamic diagram background is displayed. It controls features related to isotherms, isobars, mixing ratio lines, dry and moist adiabats.

Note

This function performs the same task as the Thermo Grid icon in Metview’s user interface. It accepts its parameters as keyword arguments, described below.

mthermogrid(**kwargs)

Defines the background of a thermodynamic diagram.

Parameters
  • thermo_isotherm_grid ({"on", "off"}, default: "on") – Plots the isotherms.

  • thermo_isotherm_colour (str, default: "charcoal") – Colour of the isotherms.

  • thermo_isotherm_thickness (number, default: 1) – Thickness of the isotherms.

  • thermo_isotherm_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the isotherms.

  • thermo_isotherm_interval (number, default: 10) – Interval for the isotherms.

  • thermo_isotherm_reference (number, default: 0) – Reference value of the isotherms.

  • thermo_isotherm_reference_colour (str, default: "red") – Colour of the reference isotherm.

  • thermo_isotherm_reference_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the reference isotherm.

  • thermo_isotherm_reference_thickness (number, default: 2) – Thickness of the reference isotherm.

  • thermo_isotherm_label_colour (str, default: "charcoal") – Colour of the isotherm labels.

  • thermo_isotherm_label_font_name (str, default: "sanserif") – Font name of the isotherm labels.

  • thermo_isotherm_label_font_style ({"normal", "bold", "italic", "bolditalic"}, default: "normal") – Font style of the isotherm labels.

  • thermo_isotherm_label_font_size (number, default: 0.3) – Font size of the isotherm labels.

  • thermo_isotherm_label_frequency (number, default: 1) – Frequency for isotherm labelling.

  • thermo_isobar_grid ({"on", "off"}, default: "on") – Plots the isobars.

  • thermo_isobar_colour (str, default: "evergreen") – Colour of the isobars.

  • thermo_isobar_thickness (number, default: 2) – Thickness of the isobars.

  • thermo_isobar_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the isobars.

  • thermo_isobar_interval (number, default: 100) – Interval between isobars (hPa).

  • thermo_isobar_reference (number, default: 1000) – Reference value of the isobars (hPa).

  • thermo_isobar_label_colour (str, default: "evergreen") – Colour of the isobar labels.

  • thermo_isobar_label_font_name (str, default: "sanserif") – Font name of the isobar labels.

  • thermo_isobar_label_font_style ({"normal", "bold", "italic", "bolditalic"}, default: "normal") – Font style of the isobar labels.

  • thermo_isobar_label_font_size (number, default: 0.3) – Font size of the isobar labels.

  • thermo_isobar_label_frequency (number, default: 1) – Frequency of the isobar labels.

  • thermo_dry_adiabatic_grid ({"on", "off"}, default: "on") – Plots the dry adiabats.

  • thermo_dry_adiabatic_colour (str, default: "charcoal") – Colour of the dry adiabats.

  • thermo_dry_adiabatic_thickness (number, default: 1) – Thickness of the dry adiabats.

  • thermo_dry_adiabatic_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the dry adiabats.

  • thermo_dry_adiabatic_interval (number, default: 10) – Interval between the dry adiabats (C).

  • thermo_dry_adiabatic_reference (number, default: 0) – Reference value of the dry adiabats (C).

  • thermo_dry_adiabatic_label_colour (str, default: "charcoal") – Colour of the dry adiabat labels.

  • thermo_dry_adiabatic_label_font_name (str, default: "sanserif") – Font name of the dry adiabat labels.

  • thermo_dry_adiabatic_label_font_style ({"normal", "bold", "italic", "bolditalic"}, default: "normal") – Font style of the dry adiabat labels.

  • thermo_dry_adiabatic_label_font_size (number, default: 0.3) – Font size of the dry adiabat labels.

  • thermo_dry_adiabatic_label_frequency (number, default: 1) – Frequency of the dry adiabat labels.

  • thermo_saturated_adiabatic_grid ({"on", "off"}, default: "on") – Plots the saturated adiabats.

  • thermo_saturated_adiabatic_colour (str, default: "charcoal") – Colour of the saturated adiabats.

  • thermo_saturated_adiabatic_thickness (number, default: 2) – Thickness of the saturated adiabats.

  • thermo_saturated_adiabatic_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the saturated adiabats.

  • thermo_saturated_adiabatic_interval (number, default: 5) – Interval between the saturated adiabats (C).

  • thermo_saturated_adiabatic_reference (number, default: 0) – Reference value of the saturated adiabats (C).

  • thermo_saturated_adiabatic_label_colour (str, default: "charcoal") – Colour of the saturated adiabat labels.

  • thermo_saturated_adiabatic_label_font_name (str, default: "sanserif") – Font name of the saturated adiabat labels.

  • thermo_saturated_adiabatic_label_font_style ({"normal", "bold", "italic", "bolditalic"}, default: "normal") – Font style of the saturated adiabat labels.

  • thermo_saturated_adiabatic_label_font_size (number, default: 0.3) – Font Size used for the saturated_adiabatics labels

  • thermo_saturated_adiabatic_label_frequency (number, default: 1) – Frequency of the saturated adiabat labels.

  • thermo_mixing_ratio_grid ({"on", "off"}, default: "on") – Plots the mixing ratio lines.

  • thermo_mixing_ratio_colour (str, default: "purple") – Colour of the mixing ratio lines.

  • thermo_mixing_ratio_thickness (number, default: 1) – Thickness of the mixing ratio lines.

  • thermo_mixing_ratio_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "dash") – Line style of the mixing ratio lines.

  • thermo_mixing_ratio_frequency (number, default: 1) – Frequency of the mixing ratio lines.

  • thermo_mixing_ratio_label_colour (str, default: "purple") – Colour of the mixing ratio labels.

  • thermo_mixing_ratio_label_font_name (str, default: "sanserif") – Font name of the mixing ratio labels.

  • thermo_mixing_ratio_label_font_style ({"normal", "bold", "italic", "bolditalic"}, default: "normal") – Font style of the mixing ratio labels.

  • thermo_mixing_ratio_label_font_size (number, default: 0.3) – Font size of the mixing ratio labels.

  • thermo_mixing_ratio_label_frequency (number, default: 1) – Frequency of the mixing ratio labels.

Return type

Request