get_date: get_date

View source: R/growingDegreeDay.R

get_dateR Documentation

get_date

Description

Extract a series of dates from the layers named in a rasterBrick or a vector of strings containing dates.

Usage

get_date(x, pattern, date_format)

Arguments

x

rasterBrick or a vector of dates, from which to extract the dates of the time-series.

pattern

string or characters to remove from the date name (remove the character "X" from "X2001.07.15")

date_format

format of the date

Details

internal function to retrieve data from names.

Author(s)

Reto Schmucki


RetoSchmucki/climateExtract documentation built on July 3, 2025, 11:39 p.m.