ome / omero-ms-zarr

Experimental micro-service for implementing the Zarr spec over HTTP
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
17 stars 12 forks source link

remove scale: from .zattrs #31

Closed mtbc closed 4 years ago

mtbc commented 4 years ago
{
    "multiscales": [
        {
            "datasets": [
                {
                    "path": "0",
                    "scale": 1.0
                },
                {
                    "path": "1",
                    "scale": 0.5
                },
                {
                    "path": "2",
                    "scale": 0.25
                },
                {
                    "path": "3",
                    "scale": 0.125
                },
                {
                    "path": "4",
                    "scale": 0.0625
                },
                {
                    "path": "5",
                    "scale": 0.03125
                }
            ],
            "version": "0.1"
        }
    ]
}

All the "scale" keys should be omitted from the metadata.

However, unit tests should at least check that resolutions start with the full-size then work downward.