Skip to contents

Package information

metR-package metR
metR: Tools for Easier Analysis of Meteorological Fields

ggplot2 extension

stats, geoms and other ggplot2 extensions

ggplot2 helpers

functions that help in plotting

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() ParseNetCDFtime() OpenNetCDF() GlanceNetCDF()
Read NetCDF files.
MaskLand()
Mask
GetTopography()
Get topographic data
GetSMNData()
Get Meteorological data This function is defunct.
EOF()
Empirical Orthogonal Function
denormalise() denormalize()
Denormalise eof matrices
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 functions
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
surface
Surface height