Skip to content

Parsing pyiron HDF5 files #11

@jan-janssen

Description

@jan-janssen

I updated the examples for LAMMPS, SPHInX and VASP to directly read the HDF5 files to a dictionary and afterwards write the dictionary to an HDF5 file again. The LAMMPS and SPHInX examples both work on mybinder:

The process is the same for all three:

  1. A calculation is set up and executed.
  2. The content of the whole job including the output is read to a dictionary.
  3. The output schema is extracted, this schema is required to create the HDF5 file later on and should be developed by the person creating the job_type.
  4. The original HDF5 file is deleted and a new HDF5 file is written based on the schema for the particular job.
  5. The job object is reloaded from the newly written HDF5 file and the input and output are validated.

Does this address the needs you had in terms of easy access to the pyiron HDF5 files?

EDIT: Add VASP example.

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