Skip to content

Typo in NUG Best Practices Packing formulae #3328

@czender

Description

@czender

The NUG presents the formulae for packing/unpacking on this page which reads

Each variable with packed data has two attributes called scale_factor and add_offset, so that the packed data may be read and unpacked using the formula:

> unpacked_data_value = packed_data_value * scale_factor + > add_offset
...
> packed_data_value = nint((unpacked_data_value - > add_offset) / scale_factor)

The > characters that immediately precede add_offset in both equations appear to be typos. I suggest deleting them.

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