oisst_period_means: OISST Time-Period Means

View source: R/oisst_data_funs.R

oisst_period_meansR Documentation

OISST Time-Period Means

Description

Generate average annual SST measurements from the daily OISST raster brick using custom date windows. Takes the daily OISST mean temperature raster stack and a dataframe outlining period start and end dates as inputs.

Returns a raster stack with mean SST For every year for each intra-annual time-period specified.

Useful for getting means across a specific time window within a year, like a month or season.

Usage

oisst_period_means(stack_in, projection_crs = 26919, time_res_df)

Arguments

stack_in

Raster stack of daily SST Measurements from OISST dataset

projection_crs

The coordinate reference system number/proj4string for the desired output

time_res_df

Dataframe detailing the time-period structure you wish to calculate SST means for.

Value

New raster stack with temporal means applied


gulfofmaine/gmRi documentation built on Jan. 26, 2025, 5:12 a.m.