
Calculate Degree Heating Month Index (DHMi)
calculate_dhmi.RdThis function calculates Degree Heating Month Index (DHMi) from Lough et al (2018) and is calculated based on either monthly or daily SST data
Citation: Lough et al (2018) Increasing thermal stress for tropical coral reefs: 1871–2017 Scientific Reports 8(6079) https://www.nature.com/articles/s41598-018-24530-9
Arguments
- sst_raster
A
SpatRasterobject containing SST data. The raster should include a time dimension.- accumulation_window
time window for calculating DHMi (typically 3 or 4 months, see Table S1 in Mason et al 2024 Nature Geoscience)
- timespan
start and end months for summed DHMi calculations (for example in Austral summer - November to May = c(12,5)