Skip to content

A general issue with Zarr, JSON and the CF conventions. #12

@gdkrmr

Description

@gdkrmr

However, if the scale_factor and add_offset attributes are of a different data type from the variable (containing the packed data) then the unpacked data should match the type of these attributes, which must both be of type float or both be of type double .

From the CFConventions 8.1 Packed Data.

Here is another issue with Zarr specifically: I don't think JSON can define Float32 and other data types, scale_factor and add_offset should be the same data type as the unpacked data. This means, at least in a strict sense, that we cannot have Float32 variables. Not sure what to do about this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions