Skip to content

Subselection in ncread does not work if an index is integer #90

Open
@Datseris

Description

@Datseris

E.g., ncread(file, "w", (:, :, 1)) will fail, because it tries to instantiate an array that has 3 named dimensions but only 2 actual dimensions, as w[:, :, 1] is a Matrix.

@rafaqz by the way, I think Rasters.jl has this subselection feature implemented already right? Because it first makes an "image" of the full dimensional array without actually loading numeric data, and then you could subselect this image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingioInput/output from/to disk.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions