-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
Description
I feel like there may be a bug that the following codes did not work
jldopen(path)["Data/Table Layout"]while JLD2.load(path, "Data/Table Layout") would work.
The data file is available at https://github.com/JouleCai/geospacelab/blob/48696ca43aa53721d1ca9414caffed3c4d9048f4/geospacelab/datahub/sources/madrigal/isr/eiscat/examples/MAD6400_2021-03-10_beata_ant%40uhfa.hdf5
Stacktrace
ERROR: ArgumentError: There is no UInt type with 0 bytes
Stacktrace:
[1] uintofsize
@ ~/.julia/packages/JLD2/WDhXU/src/misc.jl:132 [inlined]
[2] jlread(io::JLD2.MmapIO, ::Type{JLD2.EnumerationDatatype})
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/datatypes.jl:392
[3] jlread(io::JLD2.MmapIO, ::Type{JLD2.H5Datatype})
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/datatypes.jl:73
[4] jlread(io::JLD2.MmapIO, ::Type{JLD2.CompoundDatatype})
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/datatypes.jl:234
[5] jlread(io::JLD2.MmapIO, ::Type{JLD2.H5Datatype})
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/datatypes.jl:63
[6] getproperty(tw::JLD2.HmWrap{JLD2.HmDatatype, JLD2.MmapIO}, s::Symbol)
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/macros_utils.jl:248
[7] load_dataset(f::JLD2.JLDFile{JLD2.MmapIO}, offset::JLD2.RelOffset)
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/datasets.jl:25
[8] getindex(g::JLD2.Group{JLD2.JLDFile{JLD2.MmapIO}}, name::String)
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/groups.jl:99
[9] getindex(f::JLD2.JLDFile{JLD2.MmapIO}, name::String)
@ JLD2 ~/.julia/packages/JLD2/WDhXU/src/JLD2.jl:369
Reactions are currently unavailable