Skip to content

Add rich reprs to STAC objects #508

@TomAugspurger

Description

@TomAugspurger

IPython / jupyter define a protocol where objects defining methods like _repr_html_ will have the ability to produce rich representations in a notebook. See https://ipython.readthedocs.io/en/stable/config/integrating.html.

I think this would be very useful for exploring STAC objects. dask/distributed#4857 has some designs / code that might be worth stealing. In particular the handling of nested objects would apply to catalogs, collections, and even items.

See http://matthewrocklin.com/blog/2019/07/04/html-repr for some background.

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