Skip to content

Add function to add singleton dimension #353

@ph-kev

Description

@ph-kev

For calibration (see CliMA/ClimaCalibrate.jl#257), you may want to do a time average, but the time dimension is gone in this case. To help with this, it would be nice to have a function that insert a singleton dimension to a OutputVar.

For example,

function insert_singleton_dimension(var::OutputVar, dim_name, dim_value)
       # implementation here
end

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