Metview's documentation is now on readthedocs!

Description

Metview Macro Library function. Generates an MText object to provide title for plotting FLEXPART output GRIB fields.

Usage

mtext mvl_flexpart_title(...)

This function uses a set of named parameters as argument.

Parameters

source

The FLEXPART output GRIB file.

data

The FLEXPART output GRIB as a fieldset. It takes precedence over source.

fontsize

Is the character height in cm. The default is 0.3 cm.

units

The units string to display. If it is set to "header" the units are taken from the GRIB header. The default is an empty string.

Example

# if g is a fieldset containing FLEXPART output

title=flexpart_build_title(data: g,fontsize: 0.3,units: "ng m**-3")

plot(g,title)