Skip to contents

a raster with layers by decade

Usage

durations_by_decade_raster(
  mhwdb_conn,
  mhw_table,
  decades = c("2040", "2050", "2060"),
  crs = "EPSG:4087",
  ensemble_list_string = NA
)

Arguments

mhwdb_conn

database connection

mhw_table

character string name of the table to query, required (e.g. arise10_metrics)

crs

character coordinate reference system, EPSG:4087, alternatives are EPSG:4326.

ensemble_list_string

character string that is a list of ensembles to include in format "006,007,008" ensembles have leaving zeros, are 3 digits and this must be a separated list with leading zeros

Value

terra raster stack of layers for each decade