Skip to content

warn at import time if xr.core.options.OPTIONS["keep_attrs"] is False #77

Closed
@dcherian

Description

@dcherian

Maybe say something like

"cf_xarray works best when xarray keeps attributes by default. Please run xr.set_options(keep_attrs=True)"

This may be annoying though. We should definitely mention this in the docs (#73)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions