Description Usage Arguments Details Examples
unzero
eliminates zero precipitation data from the bias
correction by setting zero values to NA, which is ignored.
rezero
sets NA values back to zero after bias correction.
1 2 3 |
x |
A vector of numeric values |
warn |
Logical; warn if NA values already present in input |
refloor |
Logical; also set negative values to zero |
The zeros in precipitation data cause problems for distribution mapping. Changing zeros to NA allows them to pass harmlessly through the rest of the bias correction procedure without requiring a lot of complicated and error-prone indexing to remove and reinsert them from the arrays.
It is not uncommon for precipitation data to have small negative
values after bias correction. By default rezero
also sets
those values to zero when returning NA values back to zero.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.