Skip to content

Rationalise percentile methods #3294

Description

@rcomer

The _percentile function that iris.analysis.PERCENTILE is based on allows the keyword fast_percentile_method so that np.percentile may be used in place of scipy.mstats.mquantiles. However, this option does not appear in the documentation for iris.analysis.PERCENTILE. [Addresssed in #3901]

Also, is there any reason why the _percentile function and PERCENTILE aggregator shouldn't allow passing of **kwargs to np.percentile if this option is chosen? If implemented, this would allow users to specify an interpolation method in np.percentile. [Addressed in #4791]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions