Description Usage Arguments Details Value Author(s)
View source: R/member_offset.R
EITrans::member_offset calculates an value offset for each member of the input ensembles so that the resulting rank histogram shall be flat.
1 2 3 4 5 6 7 8 9 10 | member_offset(
ensembles,
observations,
left_delta,
right_delta,
left_infinity_estimator = 1,
right_infinity_estimator = 1,
verbose = T,
pre_sorted = F
)
|
ensembles |
A 4-dimensional array with the dimensions
|
observations |
A 3-dimensional array with the dimensions
|
left_delta |
A scalar addition offset for the minimum during sampling |
right_delta |
A scalar addition offset for the maximum during sampling |
left_infinity_estimator |
A scalar to scaling the minimum of the ensemble |
right_infinity_estimator |
A scalar to scaling the maximum of the ensemble |
verbose |
Whether to be verbose |
pre_sorted |
Whether the input ensemble members are pre-sorted. Use pre-sorted
ensembles will save you about 80% of the execution time. To pre-sort your ensembles,
use |
Input ensembles and observations should match up for the first three dimensions which should be #stations, #times, and #lead times. The 4th dimension of ensembles should be ensemble members.
The length of the output of the function will be a vector of the length of the ensemble members. When you actually use these offset values to correct new ensembles, make sure that you SORT your ensemble members from smallest to largest.
A vector for ensemble member offset. Make sure that you have sorted your ensemble values before you add the offset to each member.
Weiming Hu weiming@psu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.