Skip to content

Make Raster.astype() lazy? #875

@rhugonnet

Description

@rhugonnet

If the Raster is not loaded, we can simply update out_dtype or _is_mask to get the appropriate behaviour.

For now, we use a trick replacing _is_mask to do this in create_mask() with Multiprocessing.
(Works directly for Dask)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature improvement or request

    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