Dear VASP developers,
I was wondering if it was possible to include the total magnetization (and ideally total electron count, and total orbital-projected magnetization values) in the vasprun.xml outputs in future VASP versions?
These are very useful outputs which are included in the OUTCAR files, however many codes (such as pymatgen, ASE, doped etc) aim to use the vasprun.xml files as the core outputs to parse from VASP, as it usually contains most/all relevant information from a VASP calculation for most cases. However these useful outputs mentioned here are not written to the vasprun.xml (e.g. see the specific properties parsed by pymatgen's OUTCAR parser, which are mostly those that are not included in the vasprun.xml; https://pymatgen.org/pymatgen.io.vasp.h ... uts.Outcar), so makes it harder to parse and automatically include them in follow-on analyses (adding user and maintenance burdens). They are also lightweight so would not add any noticeable bloat to the vasprun.xml file.
I can reverse-engineer/estimate most of these properties from the eigenvalues and projected magnetisation arrays in the vasprun.xml, but having these total values would be much faster and cleaner. I'm not sure if the vaspout.h5 is intended to be the core VASP summary file in future.
Thanks for your time and work on this code!
Best,
Seán
PS: It is specifically the "number of electron 563.9999897 magnetization -1.0172531 0.0009025 0.8805008" and "magnetization (x)" etc outputs in the OUTCAR I'm referring to here.