Skip to content

Commit

Permalink
Fix path do not force it
Browse files Browse the repository at this point in the history
  • Loading branch information
danlooo committed Jan 9, 2025
1 parent 060d976 commit 029e641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyramid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function to_dggs_pyramid(geo_ds::Dataset, level::Integer, args...; verbose=true,
return dggs
end

function to_dggs_pyramid(l::DGGSLayer; base_path=tempname(), agg_type::Symbol=:round)
function to_dggs_pyramid(l::DGGSLayer; agg_type::Symbol=:round, kwargs...)
pyramid = Dict{Int,DGGSLayer}()
pyramid[l.level] = l

Expand All @@ -237,7 +237,7 @@ function to_dggs_pyramid(l::DGGSLayer; base_path=tempname(), agg_type::Symbol=:r
outdims=OutDims(
Dim{:q2di_i}(range(0; step=1, length=2^(coarser_level - 1))),
Dim{:q2di_j}(range(0; step=1, length=2^(coarser_level - 1))),
path=joinpath(base_path, "$(coarser_level)/$(k)")
kwargs...
)
) do xout, xin
n = xin.indices[3]
Expand Down

0 comments on commit 029e641

Please sign in to comment.