This PR extends the generate_figure function with additional keywords that add additional information to the generated plot, namely:
addgrid (bool, optional): Whether to include a grid in the figure
to facilitate orientation of the viewer. Designed to be non-intrusive
addsources (bool, optional): Add the data source to the image if
available, otherwise global source. Default is False.
includeSN (bool, optional): Add the serial number for the plot if
available. If the source attr is available for a field_name
the source_serial_number attr is checked for the serial number
(which may not exist, leading to no serial number). If no
source attr is available, the global source attr and global
source_serial_number is checked. In either case, the length
of both source and source_serial_number has to agree.
addwatermark (bool, optional): Add watermark to image,
putting the watermarktext in the bottom left. Default is False.
watermarktext (bool, optional): The text that will be added if
addwatermark is True. Should be adjusted for any non-ACTRIS/FMI site
Default is '\u00A9 CLOUDNET, cloudnet.fmi.fi' (copyright symbol).
watermarkaddcreationtime (bool, optional): Add the creation time
after the watermarktext (datetime.datetime.utcnow()
Additionally, the default figure would now include minor xticks and the bounding xticklabels (0/24). This will change the default figure in production, do advise whether this change is fine for fmi
The attached images serve as illustration of the new features compared to the old one
This PR extends the generate_figure function with additional keywords that add additional information to the generated plot, namely:
Additionally, the default figure would now include minor xticks and the bounding xticklabels (0/24). This will change the default figure in production, do advise whether this change is fine for fmi
The attached images serve as illustration of the new features compared to the old one