daymet_grid_offset: Returns a time shifted (offset) dataset

View source: R/daymet_grid_offset.r

daymet_grid_offsetR Documentation

Returns a time shifted (offset) dataset

Description

Returns an offset dataset with data running from offset DOY in year - 1 to offset DOY in the current year. Two years of data (730 data layers) are required for this function to work. The output serves as input for further data processing and / or ecosystem modelling efforts.

Usage

daymet_grid_offset(data, offset = 264)

Arguments

data

rasterStack or rasterBrick of 730 layers (2 consecutive years)

offset

offset of the time series in DOY (default = 264, sept 21)

Examples


## Not run: 
my_subset <- daymet_gridded_offset(mystack, offset = 264)

## End(Not run)

daymetr documentation built on Sept. 15, 2023, 5:07 p.m.