-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I forgot parens for namedtuple here
julia> precip_cellarea_stack = RasterStack(; precip = precip, cellarea = cellarea(precip))
ERROR: StackOverflowError:
Stacktrace:
[1] RasterStack(layers::@NamedTuple{}; resize::Rasters.NoKW, _layers::@NamedTuple{}, dims::Tuple{}, refdims::Tuple{}, missingval::@NamedTuple{}, metadata::DimensionalData.Dimensions.Lookups.NoMetadata, layermetadata::@NamedTuple{}, layerdims::@NamedTuple{}, kw::@Kwargs{})
@ Rasters ~/.julia/dev/geo/Rasters.jl/src/stack.jl:287
but that led to the discovery
julia> RasterStack()
ERROR: StackOverflowError:
whereas
julia> DD.DimStack()
┌ 0-dimensional DimStack ┐
├──────────────── layers ┤
└────────────────────────┘
not sure what's going on here but though it was worth reporting
rafaqz
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working