Opening a S2 Dataset as a DimTree currently fails with the following error:
I am not sure, whether this is coming from some strange metadata in the dataset or we are not handling something correctly in the data reader.
v = "number"
ERROR: MethodError: no method matching DimTree(::OrderedCollections.OrderedDict{…}, ::Tuple{}; layerdims::OrderedCollections.OrderedDict{…}, layermetadata::OrderedCollections.OrderedDict{…})
The type `DimTree` exists, but no method is defined for this combination of argument types when trying to construct it.
Closest candidates are:
DimTree(::OrderedCollections.OrderedDict{Symbol, Any}, ::Tuple, ::Tuple, ::OrderedCollections.OrderedDict{Symbol, Tuple}, ::OrderedCollections.OrderedDict{Symbol, Any}, ::Any, ::OrderedCollections.OrderedDict{Symbol, AbstractDimTree}, ::Union{Nothing, AbstractDimTree}) got unsupported keyword arguments "layerdims", "layermetadata"
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:56
DimTree(::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any) got unsupported keyword arguments "layerdims", "layermetadata"
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:56
(::Type{T})(::Any, ::Tuple{DimensionalData.Dimensions.Dimension, Vararg{DimensionalData.Dimensions.Dimension}}; kw...) where T<:AbstractDimTree
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:73
...
Stacktrace:
[1] DimTree(pairs::OrderedCollections.OrderedDict{…}; data::OrderedCollections.OrderedDict{…}, dims::Tuple{}, layerdims::OrderedCollections.OrderedDict{…}, layermetadata::OrderedCollections.OrderedDict{…}, kw::@Kwargs{})
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:82
[2] DimTree(pairs::OrderedCollections.OrderedDict{Symbol, Raster{…}})
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:75
[3] DimTree(As::Vector{Raster{…}})
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:70
[4] DimTree(::Raster{…})
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:66
[5] setproperty!(dt::DimTree, key::Symbol, A::Raster{…})
@ DimensionalData ~/Documents/EOPF.jl/SentinelDataSource/dev/DimensionalData/src/tree/tree.jl:267
[6] open_tree(dataset::ZarrDataset{ZarrDataset{…}, Missing, ZGroup{…}})
@ SentinelDataSource ~/Documents/EOPF.jl/SentinelDataSource/src/SentinelDataSource.jl:20
[7] open_tree(dataset::ZarrDataset{ZarrDataset{…}, Missing, ZGroup{…}})
@ SentinelDataSource ~/Documents/EOPF.jl/SentinelDataSource/src/SentinelDataSource.jl:24
[8] open_tree(dataset::ZarrDataset{ZarrDataset{Nothing, Missing, ZGroup{…}}, Missing, ZGroup{Zarr.ConsolidatedStore{…}}})
@ SentinelDataSource ~/Documents/EOPF.jl/SentinelDataSource/src/SentinelDataSource.jl:24
[9] open_tree(dataset::ZarrDataset{Nothing, Missing, ZGroup{Zarr.ConsolidatedStore{Zarr.HTTPStore}}})
@ SentinelDataSource ~/Documents/EOPF.jl/SentinelDataSource/src/SentinelDataSource.jl:24
[10] top-level scope
@ REPL[361]:1
Some type information was truncated. Use `show(err)` to see complete types.
This is with this dataset:
"https://objectstore.eodc.eu:2222/e05ab01a9d56408d82ac32d69a5aae2a:sample-data/tutorial_data/cpm_v253/S2A_MSIL2A_20240101T102431_N0510_R065_T32TNT_20240101T144052.zarr"
Opening a S2 Dataset as a DimTree currently fails with the following error:
I am not sure, whether this is coming from some strange metadata in the dataset or we are not handling something correctly in the data reader.
This is with this dataset:
"https://objectstore.eodc.eu:2222/e05ab01a9d56408d82ac32d69a5aae2a:sample-data/tutorial_data/cpm_v253/S2A_MSIL2A_20240101T102431_N0510_R065_T32TNT_20240101T144052.zarr"