Skip to content

Name the calendar unit for derivoce lags and temporal gradients - #8

Open
chross22 wants to merge 1 commit into
masterfrom
fix-derivoce-by
Open

chross22 wants to merge 1 commit into
masterfrom
fix-derivoce-by

Conversation

@chross22

@chross22 chross22 commented Dec 1, 2026

Copy link
Copy Markdown
Owner

derivoce now requires by on lag_covariate() and temporal_gradient(), with no default, and names lag columns with the unit (SST_lag1month). taupatch never passed it, so the weekly upstream check has failed since October (#7).

  • A lag or temporal-gradient step that does not name a unit counts in months, since every covariate here is a monthly mean. by: day and the other units pass through.
  • Predicted lag column names carry the unit, matching what derivoce produces.
  • New test covers the default and an explicit unit.

Breaking for configs that name a lag column (e.g. in covariates.exclude or a jackknife keep list): SST_lag1 is now SST_lag1month.

Tested against derivoce at cbf0fa4 (the GitHub tip the upstream check installs): 1231 passed, 0 failed, 0 warnings.

Closes #7.

🤖 Generated with Claude Code

derivoce now requires `by` on lag_covariate() and temporal_gradient(), with
no default, and names lag columns with the unit (SST_lag1month). Every call
from taupatch omitted it, so the weekly upstream check has failed since
October (#7).

A step that does not name a unit counts in months, since every covariate here
is a monthly mean; `by: day` and the rest pass through. Predicted lag names
carry the unit, matching what derivoce produces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

Tests fail or warn against current dependency versions

1 participant