openairclim.plot

Plot routines for the OpenAirClim framework

openairclim.plot.plot_concentrations(config, spec, conc_dict)[source]

Plot species concentration change colormaps, one colormap for each year

Parameters:
  • config (dic) – Configuration dictionary from config file

  • spec (str) – Species name

  • conc_dict (dict) – Dictionary of time series numpy arrays (time, lat, plev), keys are species

openairclim.plot.plot_inventory_vertical_profiles(inv_dict)[source]

Plots vertical emission profiles of dictionary of inventories

Parameters:

inv_dict (dict) – Dictionary of xarray Datasets, keys are years of emission inventories

openairclim.plot.plot_results(config, result_dic, ac='TOTAL', **kwargs)[source]

Plots results from dictionary of xarrays

Parameters:
  • config (dic) – Configuration dictionary from config file

  • result_dic (dic) – Dictionary of xarrays

  • ac (str, optional) – Aircraft identifier, defaults to TOTAL

  • **kwargs (Line2D properties, optional) – kwargs are parsed to matplotlib plot command to specify properties like a line label, linewidth, antialiasing, marker face color

Raises:

IndexError – If more than 9 subplots per species are parsed