Backport PR 1783 on branch 0.11.x (IO: treat arrays with an empty shape like scalars when writing)
Backport PR 1783 on branch 0.11.x (IO: treat arrays with an empty shape like scalars when writing): a task in life-science-SWE1.0 (Harbor dataset). Title: Backport PR 1783 on branch 0.11.x (IO: treat arrays with an empty shape like scalars when writing)
The task
**Title:** Backport PR #1783 on branch 0.11.x (IO: treat arrays with an empty shape like scalars when writing)
Part of scalingX/life-science-SWE1.0.