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

Save ParaStell Class Objects #163

Open
connoramoreno opened this issue Oct 4, 2024 · 1 comment
Open

Save ParaStell Class Objects #163

connoramoreno opened this issue Oct 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@connoramoreno
Copy link
Collaborator

It could be nice to provide the option to save ParaStell class objects (i.e., Stellarator, InVesselBuild, MagnetSet, and SourceMesh) to a file that can later be loaded into a separate script. This way, users could reference useful data we store, such as volume IDs, source mesh strengths, etc. This may be possible via the pickle module (see this example).

@Edgar-21
Copy link
Contributor

Edgar-21 commented Oct 4, 2024

I've had issues with pickle and netCDF4 objects in the past - some of the multithreading approaches I tried for the nwl used pickle to pass off copies to each thread and that failed, but not sure if that is specific to how the that multithreading module uses it or is just an issue with netCDF4 objects in general.

@connoramoreno connoramoreno added the enhancement New feature or request label Oct 11, 2024
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

2 participants