climdex.sun_sunny: Mostly sunny days

View source: R/indices.R

climdex.sun_sunnyR Documentation

Mostly sunny days

Description

This function computes the climdex index SUN_SUNNY.

This function takes a climdexInput object as input and computes the SUN_SUNNY index: The number of mostly sunny days (relative sunshine duration > 80 %) within a period.

Usage

climdex.sun_sunny(ci, freq = c("annual", "halfyear", "seasonal", "monthly"))

Arguments

ci

Object of type climdexInput (representing the daily relative sunshine duration in [%])

freq

Time frequency to aggregate to. Allowed are: "annual","halfyear", "seasonal" or "monthly". Default: "annual".

Value

A vector containing the number of mostly sunny days.


ECA-D/climind documentation built on Nov. 26, 2022, 10:20 a.m.