This function renders a 2D image usually called by the CM SAF R Toolbox.
render_plot(
plot_rinstat,
outfile = NULL,
fileExtension = ".png",
visualizeVariables,
visualizeDataTimestep,
nc_path_visualize,
visualizeDataMax,
lon_bounds,
lat_bounds,
lon_loc_vec,
lat_loc_vec,
name_loc_vec,
timestep,
num_tick,
num_rmin,
num_rmax,
num_brk,
co.data,
co.data.compare.diff,
proj,
xort,
yort,
rort,
slider1,
slider2,
imagewidth,
imageheight,
location,
int,
text1,
text2,
text3,
textsize,
bordercolor,
linesize,
na.color,
PAL,
palettes,
reverse,
plot_grid,
grid_col,
sig_values_to_plot = c(1, -1),
sig_na_color = "white"
)Whether to create an R-Instat plot (logical).
Name of the outfile (NULL or character). Should match the fileExtension. If NULL is passed a file is created in the R session temporary directory.
The file extension of the image (character). Has to be one of the following: 'png', 'jpg', 'tif', 'kml', 'pdf'.
A data frame containing all meta data for the plotting process (data.frame).
The data to be plotted.
The nc file path of which the plot is generated for.
Maximal data for computing breaks.
Array containing two values for longitude min and max (numeric).
Array containing two values for latitude min and max (numeric).
All longitude entries for points at (lat_loc_vec, lon_loc_vec) to be specified on the map (numeric).
All latitude entries for points at (lat_loc_vec, lon_loc_vec) to be specified on the map (numeric).
Names for the points at (lat_loc_vec, lon_loc_vec) to be specified on the map (numeric).
The current timestep chosen.
Number of ticks (numeric).
Color scale range minimum (numeric).
Color scale range maximium (numeric).
Number of breaks (numeric).
Data to be plotted in R-Instat mode (data.frame).
Data to be plotted in compare data mode (data.frame).
The chosen projection (either 'rect' for rectangular or 'ortho' for orthographic).
Centering the globe at longitude xort (numeric). Only in orthographic mode.
Centering the globe at latitude yort (numeric). Only in orthographic mode.
Rotation of the globe (numeric). Only in orthographic mode.
Controlling the horizontal plot position as vector of two values min and max (numeric).
Controlling the vertical plot position as vector of two values min and max (numeric).
Width of the image (numeric).
Height of the image (numeric).
Whether points specified by (lat_loc_vec, lon_loc_vec, name_loc_vec) should be added to the map (logical).
Whether interior country borders should be added (logical).
Title text (character).
Text to be passed to graphics::mtext (character).
Text to be added to the legend (character).
Textsize to be used (cex).
Color used for borders.
Line width to be used (positive numeric).
The color to be used for NA values.
Color palette.
Color palettes to be used.
Whether to revert the color palette (logical).
Whether to plot a grid using color grid_col (logical).
Color used for the grid.
For trend plots significance to plot.
Color for non-significant values.