Skip to content

Mask to nomask #74

@BrunoSanchez

Description

@BrunoSanchez

mix_mask = np.ma.mask_or(new.data.mask, ref.data.mask)

This uses the default parameter shrink=True of np.ma.mask_or and it reduces the mask to a nomask (a single bool, with False) instead of an image sized array with bool or int 1 or 0 values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions