Skip to content

Saving hamiltonian/geometry into an nc-file doesn't save orbital information #278

@jonaslb

Description

@jonaslb

Describe the bug
I usually save hamiltonians in the netcdf format using sisl.
When i load them, I cannot get any information on the orbitals other than the number of them per atom.
It would make sense I think if orbital information was saved (eg. which orbital is 2sZ1 etc).

Reproducable code

print(si.get_sile("H.nc").read_geometry())

Gives orbital information like Orbital{R: -1.00000, q0: 0.0},, while

print(si.get_sile("run.fdf").read_geometry())

Gives orbital information like AtomicOrbital{5sZ1, q0: 1.0, SphericalOrbital{l: 0, R: 4.1761, q0: 1.0}}.

Version details
sisl master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions