Author Topic: how to generate a file *.nc from hdf5 or py  (Read 3339 times)

0 Members and 1 Guest are viewing this topic.

Offline gloria.cardenas

  • New QuantumATK user
  • *
  • Posts: 3
  • Country: cl
  • Reputation: 0
    • View Profile
how to generate a file *.nc from hdf5 or py
« on: April 12, 2024, 03:19 »
Dear All,
Does someone know how to generate a file *.nc from hdf5 or py?
Thank you
Gloria

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5571
  • Country: dk
  • Reputation: 94
    • View Profile
    • QuantumATK at Synopsys
Re: how to generate a file *.nc from hdf5 or py
« Reply #1 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.

Offline gloria.cardenas

  • New QuantumATK user
  • *
  • Posts: 3
  • Country: cl
  • Reputation: 0
    • View Profile
Re: how to generate a file *.nc from hdf5 or py
« Reply #2 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.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5571
  • Country: dk
  • Reputation: 94
    • View Profile
    • QuantumATK at Synopsys
Re: how to generate a file *.nc from hdf5 or py
« Reply #3 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.