You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated functions contourPlot() and createBaseMap() have been
removed.
downloadBasemap() now returns a tiff file with GeoTIFF metadata,
instead of png.
New features
contourPlot2() introduces new arguments mask and inverse_mask.
These allow plotting data only inside (or outside) a polygon specified
by a shp file.
Labels in plotAvgTemp(), plotStabilityClass() and plotAvgRad()
now respect the locale setting. The optional argument locale has
also been added to override the system locale. Currently supported
locales are Italian and English; unsupported locales are converted to
English.
plotAvgRad() now includes options to change the y-axis label and the
title.
plgtAvgTemp() and plotStabilityClass() gain date argument to specify the
name of the column with datetime data.
Minor improvements and fixes
contourPlot2() now masks content outside the plot domain.
Previously, values outside plot domain were set to NA's, which could
potentially cause artefacts at the borders.
contourPlot2() has been updated to fix some breaking changes
introduced by ggplot2 since version 3.5.0 where guide_legend()
only draws a key glyph for a layer when the value is in the layer鈥檚
data.
contourPlot2() now removes -Inf from the levels list (if present)
when plotting only contour lines.
In plotAvgRad(), a missing colour for average radiation in the
legend has been fixed.
In plotAvgTemp(), a missing colour for average temperature in the
legend has been fixed.
In plotAvgTemp(), a bug related to the name of the column with
temperature data has been fixed.
In stabilityClass(), the tables defining the stability class as
functions of radiation, wind speed and cloud cover have been slightly
updated.
In stabilityClass() the impact method has been deprecated and
renamed to iaea.
In plotStabilityClass(), a bug where a missing class was not shown
in the legend has been fixed.
Almost all the dependencies from Openair have been removed.
Other minor bugs have been fixed and documentation has been updated
and hopefully improved.