Convert metadata to fixed-length byte strings - #1522
Merged
Conversation
tskisner
force-pushed
the
tsk_hdf5_meta
branch
3 times, most recently
from
January 23, 2026 06:30
3aef271 to
798b820
Compare
tskisner
force-pushed
the
tsk_hdf5_meta
branch
2 times, most recently
from
January 30, 2026 17:50
297b28f to
7015aa9
Compare
- Support loading raw data as int32 DAQ units. - When loading metadata, ensure that byte arrays are converted to strings as the starting point. These get automatically converted to / from bytestrings during HDF5 save / load. - The HKManager now excludes several large fields by default (WG / HWP encoders and ACU udp stream). - HKManager converts all byte strings to unicode on load, and then separately converts to / from bytestrings during HDF5 save / load. - Small fix to always use "so3g compatibility mode" when converting boresight Az/El to RA/DEC on load.
tskisner
force-pushed
the
tsk_hdf5_meta
branch
from
January 31, 2026 18:20
7015aa9 to
7fffd63
Compare
tskisner
added a commit
that referenced
this pull request
Feb 13, 2026
Found through use of some new integration tests in `sopipetest`, PR will be opened soon with those.
tskisner
added a commit
that referenced
this pull request
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When loading context metadata or HK data into toast, convert any numpy unicode arrays into fixed-length bytes. Also add a timer around the HK loading, which is slow.
Note that this cannot be merged until hpc4cmb/toast#910 is merged and a toast tag is made.