Skip to content

Astropy quantities are converted to arrays for indices #10920

@hafarooki

Description

@hafarooki

What is your issue?

When provided as a data variable, an astropy Quantity is kept as a Quantity. But when provided as an index through the coords argument when constructing a Dataset, the Quantity is converted to an array, erasing the units. Is it possible to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-arraysrelated to flexible array support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions