Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix filename show #628

Merged
merged 4 commits into from
Apr 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into fix_filename_show
  • Loading branch information
rafaqz committed Apr 9, 2024
commit 598467ea28b1883adb6d30c48d6f27f9ae4bbc17
2 changes: 1 addition & 1 deletion src/stack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ subset without loading the whole array.
abstract type AbstractRasterStack{L} <: AbstractDimStack{L} end

missingval(stack::AbstractRasterStack) = getfield(stack, :missingval)
missingval(s::AbstractRasterStack, key::Symbol) = _singlemissingval(missingval(s), key)
filename(stack::AbstractRasterStack{<:NamedTuple}) = map(s -> filename(s), stack)
filename(stack::AbstractRasterStack{<:Union{FileStack,OpenStack}}) = filename(parent(stack))
missingval(s::AbstractRasterStack, key::Symbol) = _singlemissingval(missingval(s), key)

isdisk(st::AbstractRasterStack) = isdisk(layers(st, 1))

Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.