Skip to content

Bnb/feat specific proxy obs#319

Open
bnb32 wants to merge 9 commits into
mainfrom
bnb/feat_specific_proxy_obs
Open

Bnb/feat specific proxy obs#319
bnb32 wants to merge 9 commits into
mainfrom
bnb/feat_specific_proxy_obs

Conversation

@bnb32

@bnb32 bnb32 commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Adds feature specific overrides for proxy observation parameters like perturbation scale, obs fractions, etc.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 adds feature-specific proxy observation configuration and related observation-training utilities, while also adjusting empty-feature data handling and logging.

Changes:

  • Adds per-feature proxy observation overrides for observation fractions and perturbation scale.
  • Introduces ObsAssimilationLoss and obs_mask_fraction training support for observation-based workflows.
  • Fixes empty-feature forward-pass/data access behavior and updates tests/log messages.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sup3r/preprocessing/samplers/base.py Implements per-feature proxy obs masks and perturbation handling.
sup3r/preprocessing/samplers/dual.py Centralizes duplicated sampler documentation.
sup3r/preprocessing/samplers/dc.py Centralizes duplicated sampler documentation.
sup3r/preprocessing/samplers/cc.py Centralizes docs and reformats coarsening call.
sup3r/preprocessing/batch_queues/dc.py Centralizes duplicated batch queue documentation.
sup3r/preprocessing/accessor.py Returns zero-channel arrays for empty feature selections.
sup3r/preprocessing/derivers/base.py Demotes derive-completion logging to debug.
sup3r/models/base.py Adds obs_mask_fraction model parameter persistence.
sup3r/models/abstract.py Adds obs masking in generator training and TF/distribution updates.
sup3r/utilities/loss_metrics.py Adds ObsAssimilationLoss.
sup3r/pipeline/strategy.py Updates input/exo logging.
sup3r/pipeline/forward_pass.py Updates chunk logging wording.
sup3r/pipeline/forward_pass_cli.py Adds head-node strategy initialization log.
tests/samplers/test_with_obs.py Tests per-feature proxy obs override behavior.
tests/utilities/test_loss_metrics.py Tests new obs assimilation loss behavior.
tests/forward_pass/test_forward_pass.py Tests all-low-res-features-as-exo edge case.
tests/data_wrapper/test_access.py Updates expectations for lat/lon access behavior.
pyproject.toml Bumps TensorFlow patch version.

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

Comment thread sup3r/models/abstract.py
Comment thread sup3r/utilities/loss_metrics.py
Comment thread sup3r/preprocessing/samplers/base.py
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