QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: gloria.cardenas on April 12, 2024, 03:19

Title: how to generate a file *.nc from hdf5 or py
Post by: gloria.cardenas on April 12, 2024, 03:19
Dear All,
Does someone know how to generate a file *.nc from hdf5 or py?
Thank you
Gloria
Title: Re: how to generate a file *.nc from hdf5 or py
Post by: Anders Blom on April 12, 2024, 23:17
Why do you need to do that? In general I would say it's not possible, these are not standard file formats you can just convert between.
Title: Re: how to generate a file *.nc from hdf5 or py
Post by: gloria.cardenas on April 13, 2024, 20:46
Dear Dr. Blom,
Thanks for your reply.
I am working the tutorial of boron difussion on silicon surface, and the script for AKMC shows that it need to read a file *.nc with the optimized structure. I tried with a file *.py without success.
Title: Re: how to generate a file *.nc from hdf5 or py
Post by: Anders Blom on April 15, 2024, 19:23
Any tutorial which mentions NC files is just old. We use HDF5 files now for all data. So your previous step should have written an HDF5 file with the optimized structure, and you just read that same file in the next step.