Skip to contents

takes source data and a training dataset from the same site and temporally downscales the source dataset to the resolution of the training dataset based on statistics of the training dataset.

Usage

met_temporal_downscale.Gaussian_ensemble(
  in.path,
  in.prefix,
  outfolder,
  input_met,
  train_met,
  overwrite = FALSE,
  verbose = FALSE,
  swdn_method = "sine",
  n_ens = 10,
  w_len = 20,
  utc_diff = -6,
  ...
)

Arguments

in.path

ignored

in.prefix

ignored

outfolder

path to directory in which to store output. Will be created if it does not exist

input_met

- the source dataset that will temporally downscaled by the train_met dataset

train_met

- the observed dataset that will be used to train the modeled dataset in NC format. i.e. Flux Tower dataset (see download.Fluxnet2015 or download.Ameriflux)

overwrite

logical: replace output file if it already exists?

verbose

logical: should ncdf4 functions print debugging information as they run?

swdn_method

- Downwelling shortwave flux in air downscaling method (options are "sine", "spline", and "Waichler")

n_ens

- numeric value with the number of ensembles to run

w_len

- numeric value that is the window length in days

utc_diff

- numeric value in HOURS that is local standard time difference from UTC time. CST is -6

...

further arguments, currently ignored

Author

James Simkins, Akash