Support scalars in Zarr
Quick patch for https://github.com/Unidata/netcdf-c/issues/3108.
This PR relies on .zarray having chunk and shape keys that are empty arrays, also checking if .zattrs contains an empty array for _ARRAY_DIMENSIONS. Under this assumptions we can treat the variable as a scalar instead of ignoring as it is being done.
Could you indent the contents of the new conditional, and un-dedent the else line and closing curly brace? The current indentation makes parsing the meaning more involved.
Looks great! I am getting https://github.com/Unidata/netcdf-c/pull/3086/ merged in now that I've figured out the Fortran issue, and after I pull that in I will get this.
Thanks for your patience; now that netCDF-Fortran v4.6.2 is out, and the docker work for regression testing has been integrated, I'm happy to say we're starting to get the backlog cleared!
Thanks for the updates! Tests are still missing here so I've started to work on it https://github.com/Unidata/netcdf-c/pull/3118
Thanks for the updates! Tests are still missing here so I've started to work on it #3118
Sounds good! I've got this pinned for review.