
Calculate the NOAA CRW daily SST climatology
calculate_daily_climatology.RdMonthly climatology values are assigned to the 15th of their corresponding months. Values on all other dates are linearly interpolated between the two closest monthly values, including across the December–January boundary.
Usage
calculate_daily_climatology(
sst_file,
mm,
filename = "",
overwrite = FALSE,
wopt = list()
)Arguments
- sst_file
A daily
terra::SpatRasterwhose dates define the requested output dates.- mm
A 12-layer monthly climatology ordered January to December.
- filename
Optional output filename.
- overwrite
Overwrite an existing
filename.- wopt
Named list of write options passed to
terra::writeRaster().
Value
A terra::SpatRaster aligned in space and time with sst_file.