Releases: Simularia/simulariatools
Releases · Simularia/simulariatools
simulariatools 3.1.0
- New feature:
contourPlot2()utilizes the coordinates extent of a geo-referenced TIFF
basemapfile. If plot limits are not provided, use the basemap extent to set them. If
xlimorylimare provided, the basemap is automatically cropped. contourPlot2()now deprecatesbackgroundin favour ofbasemap.contourPlot2()now deprecatesdomainin favour ofxlim,ylimandnticks.contourPlot2()now deprecatesbarein favour oftheme_void.- New function:
turnerStabilityClass()to compute PGT stability class with Turner
method. - Removed dependency on
reshape2package. - In
plotStabilityClass(), fixed a bug when input data is a tibble. - In
plotAvgRad(), fixed a bug where the bars at hours 0 and 23 were not
always shown. - Fixed typos in the documentation.
simulariatools 3.0.0
Breaking changes
- Deprecated functions
contourPlot()andcreateBaseMap()have been
removed. downloadBasemap()now returns atifffile withGeoTIFFmetadata,
instead ofpng.
New features
contourPlot2()introduces new argumentsmaskandinverse_mask.
These allow plotting data only inside (or outside) a polygon specified
by ashpfile.- Labels in
plotAvgTemp(),plotStabilityClass()andplotAvgRad()
now respect the locale setting. The optional argumentlocalehas
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()andplotStabilityClass()gaindateargument 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 byggplot2since version 3.5.0 whereguide_legend()
only draws a key glyph for a layer when the value is in the layer’s
data.contourPlot2()now removes-Inffrom 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()theimpactmethod has been deprecated and
renamed toiaea. - 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.
simulariatools 2.5.1
- Removed Unicode symbols (on CRAN request).
- Explicitly add x and y scales limits to
contourPlot2. - Updated deprecated functions from
scalespackage. - Bugfix: avoid
Infduplication incontourPlot2legend. - Documentation: spell check and improvements.
simulariatools 2.5.0
- Dependency from other packages has been reviewed.
RColorBrewer,dplyrand
pngare not required anymore. rasterbecomes suggested, since it is only required by the deprecated
contourPlot()function. Geo processing is now performed by the required
terrapackage.Openairis now a suggested package.- Bugs were fixed in the Pasquill stability class functions
stabilityClass()
andplotStabilityClass(). Furthermore, some working examples have been added. - In
contourPlot2(), deprecation ofstat(level)andsizeofggplot2()
have been fixed. - Improved documentation and
READMEfile.
Version 2.4.0
The first version to be released on CRAN:
- The package is ready to be submitted to CRAN.
- Fixed many syntax errors, cleaned up code to try to comply with best practices.
- Fixed warnings in the documentation and added some working examples in
some functions. - Added some tests.
- Added a sample dataset
stMeteowith hourly values of wind speed, wind
direction, temperature, global radiation, total cloud cover and stability class. - Renamed
NEWStoNEWS.md. - Updated
READMEfile.
Version 2.3.1
- Trying to fix issues with fonts in contourPlot2().
- Updated readme file and fixed some minor issues in the documentation.
Version 2.3.0
- BREAKING CHANGE: in raster plots with
contourPlot2(tile = TRUE) intervals are closed on the
left and open on the right. In previous versions it was the opposite. In this way an interval
[0 - 1)does include values equal to 0 and does not include values equal to 1.
Version 2.2.3
Version 2.2.3
Version 2.2.2
Version 2.2.2
Version 2.2.1
Version 2.2.1