-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
What are you trying to do?
I'm trying to write an array in a dataset, what I do is reading it, applying some operations to the data and then I want to write it back. At the moment of writing it back I've tried:
dataToWrite := ts.Data().([]float32)
err = ds.WriteSubset(dataToWrite, nil, nil)
dataToWrite := ts.Data().([]float32)
err = ds.WriteSubset(&dataToWrite, nil, nil)
dataToWrite := ts.Data().([]float32)
err = ds.WriteSubset(dataToWrite, dspace, nil)
etc...
but all of them fail with either:
panic: reflect.Value.UnsafeAddr of unaddressable value
or
panic: code -1
so I'm not sure what I'm missing here
thanks in advance
Metadata
Metadata
Assignees
Labels
No labels