Package: heatwaveR 0.5.5

heatwaveR: Detect Heatwaves and Cold-Spells

The different methods for defining, detecting, and categorising the extreme events known as heatwaves or cold-spells, as first proposed in Hobday et al. (2016) <doi:10.1016/j.pocean.2015.12.014> and Hobday et al. (2018) <https://www.jstor.org/stable/26542662>. The functions in this package work on both air and water temperature data of hourly and daily temporal resolution. These detection algorithms may be used on non-temperature data as well.

Authors:Robert W. Schlegel [aut, cre, ctb], Albertus J. Smit [aut, ctb]

heatwaveR_0.5.5.tar.gz
heatwaveR_0.5.5.zip(r-4.7)heatwaveR_0.5.5.zip(r-4.6)heatwaveR_0.5.5.zip(r-4.5)
heatwaveR_0.5.5.tgz(r-4.6-x86_64)heatwaveR_0.5.5.tgz(r-4.6-arm64)heatwaveR_0.5.5.tgz(r-4.5-x86_64)heatwaveR_0.5.5.tgz(r-4.5-arm64)
heatwaveR_0.5.5.tar.gz(r-4.7-arm64)heatwaveR_0.5.5.tar.gz(r-4.7-x86_64)heatwaveR_0.5.5.tar.gz(r-4.6-arm64)heatwaveR_0.5.5.tar.gz(r-4.6-x86_64)
heatwaveR_0.5.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
heatwaveR/json (API)

# Install 'heatwaveR' in R:
install.packages('heatwaveR', repos = c('https://robwschlegel.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/robwschlegel/heatwaver/issues

Pkgdown/docs site:https://robwschlegel.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • Algiers - Daily maximum (tX) and minimum (tN) air temperatures for Algiers, Algeria.
  • sst_Med - NOAA Optimally Interpolated (OI) v2.1 daily 1/4 degree SST for the Mediterranean region.
  • sst_NW_Atl - NOAA Optimally Interpolated (OI) v2.1 daily 1/4 degree SST for the NW Atlantic region.
  • sst_WA - NOAA Optimally Interpolated (OI) v2.1 daily 1/4 degree SST for the Western Australian region.

On CRAN:

Conda:

cpp

9.33 score 57 stars 377 scripts 992 downloads 2 mentions 11 exports 22 dependencies

Last updated from:ee7aafd869. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK281
linux-devel-x86_64OK201
source / vignettesOK361
linux-release-arm64OK283
linux-release-x86_64OK255
macos-release-arm64OK180
macos-release-x86_64OK326
macos-oldrel-arm64OK214
macos-oldrel-x86_64OK472
windows-develOK325
windows-releaseOK332
windows-oldrelOK294
wasm-releaseOK149

Exports:block_averagecategorydetect_eventdetect_event3event_lineexceedancegeom_flamegeom_lollilolli_plotts2clmts2clm3

Dependencies:clicpp11data.tablefarverfasttimeggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcppRcppArmadilloRcppRollrlangS7scalesvctrsviridisLitewithr

Downloading and Preparing NOAA OISST Data
Overview | Setup | Downloading subsetted data | File information | Download function | Date range | Download/prep data | Visualise data | Save data | Downloading global data | Download data | Load data

Last update: 2025-04-10
Started: 2018-04-27

heatwaveR internal workflow
ts2clm() | Details | Value | Internal functions | make_whole_fast()

Last update: 2025-04-10
Started: 2025-04-07

Trend and Breakpoint analyses in MHW metrics
Overview | MEOW | Download data and calculate climatologies | Summarise MHW metrics by year, season, and bioregion | Trends in MHW metrics at NZ scale + Bioregions | Pixel-based case scenario | References

Last update: 2025-04-07
Started: 2023-02-24

Detecting Events in Gridded Data
Overview | Loading data | Event detection | Two good choices: dplyr vs. plyr | The dplyr method | The plyr technique | A harmonious third option | Case study | Trend detection | Visualising the results

Last update: 2023-10-26
Started: 2018-04-24

Download, Prepare, and Analyse NOAA OISST Data: Alternative Methods
Overview | Subsetting using a python script | Combine daily netCDFs into an über netCDF using CDO | Extract SST data using tidync, and parallel process individual 'slices' | Apply the slice and detect functions | References

Last update: 2023-10-26
Started: 2022-03-05

Calculating and Visualising Event Categories
Categories | Calculating MHW categories | Multiple time series | Visualising MHW categories | Default MHW category visuals | Custom MHW category visuals | Calculating MCS categories | Visualising MCS categories | Default MCS category visuals | Custom MCS category visuals | Category colour palettes

Last update: 2023-08-01
Started: 2018-07-23

Alternative Thresholds
Overview | Double thresholds | Data prep | Calculating thresholds | Calculating events | Creating visuals | Alternative second thresholds | Filtering with a second threshold | Filtering events | Visualising filtered events | Summary | References

Last update: 2023-03-13
Started: 2018-06-08

Basic Detection and Visualisation of Events
Data | Calculating marine heatwaves (MHWs) | Visualising marine heatwaves (MHWs) | Default MHW visuals | Custom MHW visuals | Spicy MHW visuals | Calculating marine cold-spells (MCSs) | Visualising marine cold-spells (MCSs) | Default MCS visuals | Custom MCS visuals | Minty MCS visuals | Interactive visuals

Last update: 2023-02-24
Started: 2018-07-23

Saving MHW Results to NetCDF
Overview | Loading data | Prepare the data | Create NetCDF shell | Create NetCDF file | Visualising the results

Last update: 2021-08-25
Started: 2021-01-22

Calculating and Visualising Exceedances
Exceedances | Calculating exceedances | Visualising exceedances | Calculating negative exceedances | Visualising negative exceedances

Last update: 2019-11-20
Started: 2018-07-23