Repository navigation
prevent file name too long error for analytic cov - #100
Merged
Merged
Conversation
chervias
approved these changes
Oct 26, 2026
susannaaz
added a commit
that referenced
this pull request
Nov 3, 2026
Make sa/v4_paper identical to name_length_fix (origin/main #100 plus the analytic-cov file name fix), the SOOPERCOOL version used for the MT TF and spectra of the 20260802 analysis. Previous sa/v4_paper history is kept as the first parent.
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.
compute_covariance.pybuilds the file nameanalytic_cov_{ms1}_x_{ms2}_{ms3}_x_{ms4}.npzfrom four map-set names. For low_/high_ambient_temperature this comes to 268 bytes, over the 255-byte limit.I added
cov_filename()toutils.py. Names that fit are unchanged. Longer ones are truncated to 255 bytes with a SHA-1 suffix.compute_covariance.pynow writes through it, andcreate_sacc_file_analytic.pyreads through it, so the two agree.