How can I extract data from the output files of VASP-6.3 (vasprun.xml)?
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 20
- Joined: Wed Sep 21, 2022 6:52 pm
How can I extract data from the output files of VASP-6.3 (vasprun.xml)?
I need to extract data from vasprun.xml file to plot DOS or Band structure. So, I need to know that without using py4vasp what are the other possible methods or software to use to extract data from this output file. Thank you
-
- Global Moderator
- Posts: 215
- Joined: Fri Jul 01, 2022 2:17 pm
Re: How can I extract data from the output files of VASP-6.3 (vasprun.xml)?
Dear manoj_wijesingha,
To extract data from the vasprun.xml file you could for example use p4vasp.
Another option would be to use vasprun
https://vasprun-xml.readthedocs.io/en/latest/index.html
And if you want to write your own python script you can install an xml reader as
https://docs.python.org/3/library/xml.e ... ttree.html
for your python package and extract the data yourself.
I hope this helps
All the best Jonathan
To extract data from the vasprun.xml file you could for example use p4vasp.
Another option would be to use vasprun
https://vasprun-xml.readthedocs.io/en/latest/index.html
And if you want to write your own python script you can install an xml reader as
https://docs.python.org/3/library/xml.e ... ttree.html
for your python package and extract the data yourself.
I hope this helps
All the best Jonathan