Description Usage Arguments DETAILS Examples
View source: R/calc_indices_get_arguments.R
arguments for index rainy_season_dur
1 2 3 4 5 6 7 8 9 10 11 12 | ## S3 method for class 'rainy_season_dur'
index_arguments(
climindvis,
rs_method,
days,
dd_th = 1,
nval = NA,
trend = FALSE,
NAmaxTrend = 20,
NAdays = 0,
...
)
|
climindvis |
Object of type climindvis as returned by |
dd_th |
Dry day threshold |
trend |
Logial (or character). Calculates trends with a predefined method for the chosen index. For information on default method, see |
NAmaxTrend |
Maximum number of years in time series of index which are missing values. Value between 0 (=0%); no years with missing values allowed) and 100 (=100%); all years can be missing values). If exceeded, the trend is set to NA for the respective grid point/station. Note that the value is relative to the length of the time series. Default = 20 (20%). |
NAdays |
Number of NA days allowed per decade for index <<sos>>. Default=0. |
rs_method: |
method for calculation of index (further indicator arguments for each rs_method are given in brackets and defined below, arguments without default that have to be provided are in bold font ):
|
th |
Threshold for precipitation sum of <<days>> consecutive days |
end |
rs_method for end date if different than for start. For Default=NULL same method is used for end and for start. |
The duration of the rainy season is calculated using the same functions for the start and end of the rainy season. The arguments for the aggregations have to be provided differently. <<day start>> indicates the first day of the calculation for the start of the rainy season and <<day end>> the first day of the time series for calculating the end of the rainy season. nstart/nend are the number of days after day_start/day_end to consider for the calculation (defaults to 300days). If the criterion for start or end are not met the value of the respective year is set to NA.
1 2 | data(object_st) # load example objects
calc_index(object_st,index="rainy_season_start",aggt="dates",start_days="0000-08-01",end_days="0000-03-01",rs_method="gurgiser")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.