Skip to content

Refactor preprocess_tod to use per-group parallelization #1156

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

Closed
wants to merge 10 commits into from

Conversation

mmccrackan
Copy link
Contributor

Work in progress. Refactors main preprocess functions to parallelize over each individual detector grouping instead of just over observation id's so as to line up with mapmaking.

To-do:

  • Refactor multilayer_preprocess_tod
  • Merge both preprocess_tod and multilayer_preprocess_tod's underlying functions with preproc_or_load_group.

@mmccrackan mmccrackan marked this pull request as ready for review April 14, 2025 20:23
@mmccrackan mmccrackan requested a review from msilvafe April 14, 2025 20:23
@mmccrackan
Copy link
Contributor Author

Just realized that making the error db an obsdb instead of a manifestdb would make more sense here as it isn't pointing to any files, though since it is keyed by obs and wafer we might need #1159 first. Will see about updating it.

@msilvafe
Copy link
Contributor

msilvafe commented May 7, 2025

Let's close this PR and split up this into two PRs one for the improved error raising and one that implements the per-group parallelization.

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

Successfully merging this pull request may close these issues.

2 participants