findPeriodsLengthGrid: Finds length of wet/dry periods per gridcell

Description Usage Arguments Examples

View source: R/findPeriodsLengthGrid.R

Description

This function finds the length of wet/dry periods in the dataset per gridcell, and return a matrix with the results (gridcell i, number of periods with length j).

Usage

1
findPeriodsLengthGrid(data, periodLength, frec = T, threshold = 0.1, d = F)

Arguments

data

Data, 3d array

periodLength

Length of one period/season in days

frec

Return frequency instead of number of occurences. Defaults to TRUE

threshold

Threshold for seting values to zero. Defaults to 0.1.

d

If true, we calculate for drydays, else wet. Defaults to False

Examples

1

NorskRegnesentral/climModelEval documentation built on Jan. 16, 2020, 12:49 a.m.