get_fire_season: get_fire_season

View source: R/get_fire_season.R

get_fire_seasonR Documentation

get_fire_season

Description

Get the season for each date in a vector

Usage

get_fire_season(dates, fss = NULL, fse = NULL, zone = NULL)

Arguments

dates

vector of dates

fss

Fire Season Start (date in the format Y-m-d)

fse

Fire Season End (date in the format Y-m-d)

zone

this can either: "north", "south" or "tropics"

Value

A logical vector, where TRUE corresponds to a date in the fire season and FALSE correspond to a date not in the fire season.

Examples

## Not run: 
  # Modify default seasons
  seasons <- get_fire_season(dates,
                           fss = as.Date("2012-04-01", format = "%Y-%m-%d"),
                           fse = as.Date("2012-10-31", format = "%Y-%m-%d"))

## End(Not run)


ecmwf/caliver documentation built on March 25, 2022, 6:59 a.m.