Skip to content

Generalise the _fix_cell_methods loading callback. #1706

@SGallagherMet

Description

@SGallagherMet

Something else

The _fix_cell_methods loading callback correctly identifies that Iris' cell methods do not always correctly identify the type of processing that has been applied to the cube. However, the current fix of converting 'mean' to 'sum' for specific STASH codes is too generic as the STASH system is capable of various types of processing (off the top of my head, at least mean, minimum and maximum over a defined period).

Ideally this callback would check the UM field codes as defined in UMDPF03 to see what processing was actually applied and assign an appropriate cell method based on that.

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