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

DataContainer should probably have a save method #1987

Open
manchester-jhellier opened this issue Nov 11, 2024 · 1 comment
Open

DataContainer should probably have a save method #1987

manchester-jhellier opened this issue Nov 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@manchester-jhellier
Copy link
Contributor

Description

Issue I came across trying to make callbacks which can store calculation state. Best situation would be that DataContainer would have a (possibly abstract) save method which would save the data using an appropriate format. My current workaround is to save the .array using numpy's own saving tools, but that might be very silly with some datasets; could still be a sensible default though.

Environment

23.1.1.dev350+g5d569dc0 g5d569dc0 3.12.7 | packaged by conda-forge | (main, Oct  4 2024, 16:05:46) [GCC 13.3.0] linux
@manchester-jhellier manchester-jhellier added the enhancement New feature or request label Nov 11, 2024
@manchester-jhellier manchester-jhellier changed the title DataContainer`should probably have a save method DataContainer should probably have a save method Nov 12, 2024
@MargaretDuff
Copy link
Member

Thanks @manchester-jhellier - This is something we have talked about a lot recently. Our sister package SIRF, does indeed have a save method for data containers. Definitely something we need to discuss again

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