get_fire_season: get_fire_season

Description Usage Arguments Value Examples

View source: R/get_fire_season.R

Description

Get the season for each date in a vector

Usage

1
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

1
2
3
4
5
6
7
## 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)

caliver documentation built on Feb. 19, 2021, 5:07 p.m.