Given regional bounds image width and height are computed in order to display a region without distortion.
recalculateImageDimensions(
visualizeVariables,
lon_bounds,
lat_bounds,
image_def,
ihsf
)A dataframe containing $lon and $lat values which will be bounded by lon/lat_bounds (data.frame).
Array containing two values for longitude min and max (numeric).
Array containing two values for latitude min and max (numeric).
Minimal image default size for width and height (numeric).
Image height rescaling factor (numeric).