Skip to content

GEOPY-2910: reverting changes - introduced slowness#158

Merged
sebhmg merged 2 commits into
release/GA_4.8from
GA-2910_revert_pr_merge
Jun 20, 2026
Merged

GEOPY-2910: reverting changes - introduced slowness#158
sebhmg merged 2 commits into
release/GA_4.8from
GA-2910_revert_pr_merge

Conversation

@sebhmg

@sebhmg sebhmg commented Jun 20, 2026

Copy link
Copy Markdown

Revert GEOPY-2910 - Reduce chunking of sensitivities for TEM inversions

introduced slowness

Copilot AI review requested due to automatic review settings June 20, 2026 16:01
@github-actions github-actions Bot changed the title Ga 2910 revert pr merge GA-2910: revert pr merge Jun 20, 2026
@sebhmg sebhmg changed the title GA-2910: revert pr merge GA-2910: reverting changes - introduced slowness Jun 20, 2026
@sebhmg sebhmg merged commit 0ee6a0f into release/GA_4.8 Jun 20, 2026
16 of 18 checks passed
@sebhmg sebhmg deleted the GA-2910_revert_pr_merge branch June 20, 2026 16:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Dask-backed TDEM sensitivity workflow in Sim.compute_J, changing how parallel blocks are created and how field-derivative blocks are propagated across timesteps.

Changes:

  • Removes the explicit optimize=False argument when building parallel blocks via get_parallel_blocks.
  • Refactors field-derivative back-substitution to operate on per-chunk arrays (list-of-arrays) rather than a single stacked 2D array.
  • Updates row-assembly logic in compute_rows to index per-chunk derivatives directly (removing column-offset bookkeeping).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 167 to 170
for block_ind in range(len(blocks)):

if len(blocks[block_ind]) == 0:
if len(block) == 0:
continue
Comment on lines 157 to 160
ATinv_df_duT_v[ind],
time_mask,
client,
)
Comment on lines 338 to 341
ATinv_df_duT_v,
time_mask,
client,
):
@sebhmg sebhmg changed the title GA-2910: reverting changes - introduced slowness GEOPY-2910: reverting changes - introduced slowness Jun 20, 2026
@sebhmg

sebhmg commented Jun 20, 2026

Copy link
Copy Markdown
Author

messed up history with wrong issue number. Reset release/GA_4.8 again: new PR here #160

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