ggplot2 extension

stats, geoms and other ggplot2 extensions

geom_contour_fill() stat_contour_fill()

Filled 2d contours of a 3d surface

geom_contour2() stat_contour2()

2d contours of a 3d surface

geom_contour_tanaka()

Illuminated contours

geom_label_contour() geom_text_contour()

Label contours

geom_arrow() geom_vector()

Arrows

geom_streamline() stat_streamline()

Streamlines

geom_relief() geom_shadow()

Relief Shading

stat_subset()

Subset values

is.cross() cross()

Cross pattern

stat_na()

Filter only NA values.

scale_x_longitude() scale_y_longitude() scale_x_latitude() scale_y_latitude() scale_x_level() scale_y_level()

Helpful scales for maps

scale_colour_divergent() scale_color_divergent() scale_fill_divergent()

Divergent colour scales

scale_fill_discretised() scale_fill_divergent_discretised() discretised_scale()

Discretised scale

guide_colourstrip() guide_colorstrip()

Discretized continuous colour guide

reverselog_trans()

Reverse log transform

ggplot2 helpers

functions that help in plotting

MakeBreaks() AnchorBreaks()

Functions for making breaks

WrapCircular()

Wrap periodic data to any range

DivideTimeseries()

Divides long timeseries for better reading

LonLabel() LatLabel()

Label longitude and latitude

Physics

functions related to physical processes

IdealGas() Adiabat() VirtualTemperature() MixingRatio() ClausiusClapeyron() DewPoint()

Thermodynamics

coriolis() f() coriolis.dy() f.dy()

Effects of the Earth's rotation

Derivate() Laplacian() Divergence() Vorticity()

Derivate a discrete variable using finite differences

GeostrophicWind()

Calculate geostrophic winds

WaveFlux()

Calculate wave-activity flux

EPflux()

Computes Eliassen-Palm fluxes.

Data Manipulation

get and manipulate data

ReadNetCDF() GlanceNetCDF()

Read NetCDF files.

MaskLand()

Mask

GetTopography()

Get topographic data

GetSMNData()

Get Meteorological data

EOF()

Empirical Orthogonal Function

ImputeEOF()

Impute missing values

Impute2D()

Impute missing values by linear or constant interpolation

Interpolate()

Bilinear interpolation

Trajectory()

Compute trajectories

FitWave() BuildWave() FilterWave() WaveEnvelope()

Fourier transform

FitLm() ResidLm() Detrend()

Fast estimates of linear regression

Helpers

other helpers

`%~%` Similar()

Extended logical operators

season() seasonally() is.full_season()

Assign seasons to months

Anomaly()

Anomalies

Percentile()

Percentiles

Mag() Angle()

Magnitude and angle of a vector

JumpBy()

Skip observations

ConvertLongitude()

Converts between longitude conventions

dlon() dlat() dx() dy()

Transform between spherical coordinates and physical coordinates

as.path()

Interpolates between locations

cut(<eof>)

Remove some principal components.

Datasets

sample datasets

geopotential

Geopotential height

temperature

Air temperature