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

Improve HDF5 writing of toast observations with arbitrary metadata #1010

Open
tskisner opened this issue Oct 18, 2024 · 0 comments
Open

Improve HDF5 writing of toast observations with arbitrary metadata #1010

tskisner opened this issue Oct 18, 2024 · 0 comments

Comments

@tskisner
Copy link
Member

The upstream toast HDF5 saving functions only attempt to write "simple" metadata (scalars, arrays, etc) or objects that define a save_hdf5() method. This means that generic, top-level AxisManager meta data which is not one of the standard types will not get written out.

We could add a trivial, toast-compatible save_hdf5() method to AxisManager that calls the existing save() method to write the object contents to an HDF5 group. If this is too intrusive in cases where toast is not being used, we could just append that extra class method in sotodlib.toast.__init__ so that it is only defined in cases where toast is imported.

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

No branches or pull requests

1 participant