Skip to content

Broadcasting expressions don't work with deepcopied ClimaCore spaces #2312

Open
@Sbozzolo

Description

@Sbozzolo

Given that

using ClimaCore.CommonSpaces
space = CubedSphereSpace(;
           radius = 10,
           n_quad_points = 4,
           h_elem = 10,
       )

cop_space = deepcopy(space)

space == cop_space
# false (as expected, that's the point of deepcopying)

Fields defined on space and cannot be mixed with Fields defined on cop_space, even if the two spaces are identical (but not the same)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions