Description
Metview Macro Library function. Generates an MText object to provide title for plotting FLEXPART gridded output GRIB fields (GRIB).
Usage
mtext mvl_flexpart_title(g:fieldset, fontsize: number, [units])
...)
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 stringParameter g
is a FLEXPART fieldset; fontsize
is the character height in cm; units
is the units string. If units
it is -1 the units is taken form the GRIB header. If the units
argument is omitted or contains an empty string no units is added to the title.
Example
# if g is a fieldset containing FLEXPART output
title=mvlflexpart_flexpartbuild_title(data: g,fontsize: 0.3,units: "ng m**-3")
plot(g,title)