cpa_from_raster: Calculate cold pool area from a raster

View source: R/cpa_from_raster.R

cpa_from_rasterR Documentation

Calculate cold pool area from a raster

Description

Calculate area of raster cells less than or equal to a temperature threshold.

Usage

cpa_from_raster(x, raster_units = "m", temperature_threshold)

Arguments

x

A SpatRaster object.

raster_units

Character vector indicating units for x and y dimensions in the raster. Default = "m" for meters.

temperature_threshold

Numeric. Temperature threshold for value.


afsc-gap-products/coldpool documentation built on Feb. 25, 2024, 9:44 p.m.