Backport PR 2134 on branch 0.12.x (fix: write iospec directly with sparse dataset)
Backport PR 2134 on branch 0.12.x (fix: write iospec directly with sparse dataset): a task in life-science-SWE1.0 (Harbor dataset). Title: Backport PR 2134 on branch 0.12.x (fix: write iospec directly with sparse dataset)
The task
**Title:** Backport PR #2134 on branch 0.12.x (fix: write iospec directly with sparse dataset)
Part of scalingX/life-science-SWE1.0.