Skip to content

Provide a neat way to get date strings from arrays with date units. #4508

@pp-mo

Description

@pp-mo

✨ Feature Request

Following [this comment] #4499 (comment) (and preceding ones).

If you know what you're doing this isn't actually that hard.
E.G. coord.units.num2date(coord.bounds).astype('str')
But it isn't so easy to work that out.

How about Coord.date_strings() ?
We can make it cheekily default to the Coord's own points, like Connectivity.indices_by_src

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Status

    🆕 Candidate

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions