Broadcasting expressions don't work with `deepcopied` ClimaCore spaces
- Dominant language
- Julia
- Stars
- 117
- Forks
- 19
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 41
Description
Given that
```julia
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)
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no file, test, or entry point. Reproduce the CubedSphereSpace and deepcopy example first, then trace the broadcasting behavior for Fields from the two spaces; done means compatible deepcopied spaces can participate in broadcasting while genuinely incompatible spaces remain distinct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100