Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write outputs into hdf5/netcdf file #12

Open
zhucaoxiang opened this issue Aug 14, 2019 · 1 comment
Open

Write outputs into hdf5/netcdf file #12

zhucaoxiang opened this issue Aug 14, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@zhucaoxiang
Copy link
Collaborator

@jonathanschilling recently updated SPEC to be able to write all the outputs into hdf5 file using Parallel HDF5, which could also be used for STELLOPT. Besides the stellopt.xxx file, we should be able to write the outputs into a hdf5 or netcdf file. This will be extremely useful for post-processing.

PS: This is not an assignment. Just create an issue to raise people's interest. Volunteers are encouraged.

@lazersos
Copy link
Collaborator

Just a note, the BEAMS3D and FIELDLINES code already does this. There are some big caveates to doing this correctly. Also if you don't have a parallel filesystem then alternative coding needs to be included. I would suggest the following enhancements to get this to work correctly:

  • VMEC needs an option where it writes it's quantities to a group in an HDF5 file. Note this function needs to allow the calling routine to specify the Group not just the file that the quantities are written to.
  • The STELLOPT code needs to be modified so that stellopt.ext becomes a stellopt_ext.h5 file. I this is alot of work. I would suggest that each iteration be considered a group unto itself.

These are the big two issues once their done, most of the work is done for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants