Skip to contents

The NOAA HotSpot is the signed difference SST - MMM. Values below 1 degree C are retained in the HotSpot product; the 1 degree C threshold is applied only when calculating Degree Heating Weeks.

Usage

calculate_hotspots(
  mmm,
  sst_file,
  anomaly = NULL,
  filename = "",
  overwrite = FALSE,
  wopt = list()
)

Arguments

mmm

A one-layer Maximum Monthly Mean SST climatology.

sst_file

A daily SST terra::SpatRaster.

anomaly

Deprecated compatibility argument. Thresholding is performed by calculate_dhw(), not by this function.

filename

Optional output filename.

overwrite

Overwrite an existing filename.

wopt

Named list of write options passed to terra::writeRaster().

Value

A signed daily HotSpot terra::SpatRaster.