bc_cwt: CWT based quantile mapping

View source: R/fun_bc_cwt.R

bc_cwtR Documentation

CWT based quantile mapping

Description

CWT based quantile mapping

Usage

bc_cwt(
  data,
  subset,
  variable,
  theta = 0.1,
  QM = c("MBC", "MRS", "QDM"),
  number_sim = 5,
  wavelet = "morlet",
  dt = 1,
  dj = 1,
  method = "M2",
  block = 3,
  seed = NULL,
  PR.cal = FALSE,
  do.plot = FALSE,
  ...
)

Arguments

data

a list of input dataset

subset

a index of number denoting the subset for calibration

variable

a character string denoting the type of variable.

theta

threshold of rainfall.

QM

a character string denoting the qm method used.

number_sim

The total number of realizations.

wavelet

a character string denoting the wavelet filter to use in calculating the CWT.

dt

sampling resolution in the time domain.

dj

sampling resolution in the frequency domain.

method

Shuffling method, M1: non-shuffling and M2: shuffling. M2 by default.

block

Block size.

seed

Seed for shuffling process.

PR.cal

Logical value for phase randomization of calibration.

do.plot

Logical value for ploting.

...

Additional arguments for QDM.

Value

a list of post-processed data


WQM documentation built on Oct. 11, 2024, 9:07 a.m.