Skip to content

compute on subset does not work #598

Description

@felixcremer

running compute on a subset of a datacube gives a warning that nothing needs to be computed even though the data has a GMWOPResult in it.

julia> outdataset.gpp[site=1].data
14245×1 DiskArrays.SubDiskArray{Float64, 2, DiskArrayEngine.GMWOPResult{Float64, 3, DiskArrayEngine.GMDWop{3, T, NT, DiskArrayEngine.UserOp{DiskArrayEngine.ElementFunction{DiskArrayEngine.CapturedArgsFunc{typeof(TEMYax), NT, NT}, DiskArrayEngine.Mutating}, NT, NT, NT, NT, NT}, DiskArrayEngine.LoopIndSplitter{(1, 2, 3), (), ((true, 1), (true, 2), (true, 3))}}, DiskArrays.Unchunked{DiskArrays.SubRanges{DiskArrays.NoStepRange}}, 1}, T, false}

Unchunked

julia> compute(outdataset.gpp[site=1])
┌ Warning: Yaxarray does not wrap a computation, nothing to do
└ @ YAXArrays.Xmap ~/Documents/SindbadAnywhere/dev/YAXArrays/src/DAT/xmap.jl:58514245×1 YAXArray{Float64, 2} ┐
├──────────────────────────────┴ dims ┐
   Ti Sampled{DateTime} [DateTime("1979-01-01T00:00:00"), , DateTime("2017-12-31T00:00:00")] ForwardOrdered Irregular Points,
   depth_soilGrids Sampled{IntervalSets.ClosedInterval{Int64}} [1 .. 7] ForwardOrdered Irregular Intervals{Start}
├────────────────────── loaded lazily ┤
  data size: 111.29 KB
└─────────────────────────────────────┘

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions