Skip to content

Problem reading multiple files using NSIDReader #69

Open
@badarirao

Description

@badarirao

Hello, I am able to successfully read one hdf5 file using NSIDReader and store it in a variable.
However, when I read another file and store it in another variable, somehow the 1st variable data is also replaced by the new file. Could you please help me with this?

example:
dset1 = NSIDReader("data1.h5").read()
--> dset1 consists of data from data1.h5
dset2 = NSIDReader("data2.h5").read()
--> now both dset1 and dset consists of data from data2.h5.

How do I prevent dset1 from being overwritten?

I have tried the NSIDReader from both SciFiReaders and pyNSID modules, with the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions