Skip to content

Commit

Permalink
fix serie
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Nov 14, 2024
1 parent 8ab7f25 commit 2657a31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/series.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ end
@inline function DD.rebuild(
A::RasterSeries, data, dims::Tuple, refdims=(), name=nothing, metadata=nothing,
)
RasterSeries(data, dims, refdims)
# if `data` is not an AbstractArray of Raster or RasterStacks, return a Raster
Raster(data, dims; refdims, name, metadata)
end
@inline function DD.rebuild(
A::RasterSeries,
Expand Down

0 comments on commit 2657a31

Please sign in to comment.