Skip to content

Add keepdim keyword argument for reduction functions #393

@ph-kev

Description

@ph-kev

Related to #279, for functions that perform reductions, there should be a keyword argument that keep the dimension (can be at the first element of the dimension).

This is needed for calibration (see CliMA/ClimaCalibrate.jl#267) as there is an implicit assumption that a time dimension is required. Alternatively, this solution can also be tackled in ClimaCalibrate by resolving the issue that is linked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions