Skip to content

Error Handling in estimate multiple variable percentile calculation

The calculate_variable_percentile_from_value() function currently does not handle NAs passed in for the percentile thresholds. A certain site could have data only form a portion of the year so may have NAs for percentile thresholds for certain days of the year. The function should return an NA here instead of erroring.