Skip to content

Support query #202

Open
Open
@malmans2

Description

@malmans2

This is kind of inspired by the way we handle weights.
The weights must be DataArrays for xarray, but cf_xarray allows strings so we can do cf.weighted('volume').

How about introducing boolean expressions in cf.where similarly to pandas query?
That would allow to do ds.cf.where('longitude > 0') or ds.cf.where('sea_binary_mask').

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions