mhw_partitioning.R this is a work in progress (WIP) and not complete table of truncated mhw metrics by partitions
partition_mhw_events_truncated.Rdgiven set of partitions with dates, create table by matching waves to partions and truncated them
Usage
partition_mhw_events_truncated(
  conn,
  mhw_table_name,
  partition_size_years = 3,
  start_year = 2040,
  end_year = 2069
)Value
dplyr table with fields from mhw table, partition table (partition_name, partition_start_date, partition_end_date ), mhw_portion = which part of wave, mhw_portion_start = start date of truncated mhw, mhw_portion_end = end date of truncate wave, partition_dur = duration in days of truncated wave