Skip to contents

Compute signed difference anomalies from a legacy climatology

Usage

anom_diff(x, clim)

Arguments

x

An ocean_cube object.

clim

An ocean_clim object created by clim_month() or clim_day().

Value

An ocean_anom compatibility object containing x minus climatology.

Details

This compatibility wrapper adapts a modern ocean_clim and delegates to cube_anomaly(). Exact coordinate, variable, unit, calendar, and source time-class validation is enforced. Historical climatologies without sufficient canonical metadata must be recomputed.

Lifecycle

Deprecated as of oceancube 0.3.0. Use cube_anomaly(x, climatology, type = "difference").