[EPIC] pipekit-cycle: composed steps, restartable observations and the scope of variational DA

Open
#148 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

This is an epic spanning child issues #162–#165 and the DA cycles; start by reading those issues and the linked geostack report docs/reports/10_pipekit_cycle.md. The definition of done calls for composed steps, restartable observations, and time-varying observation error to match the stated numerical checks. The remaining scope of #40 also needs a decision before that proposal can close or be replaced.

Written by the indexing model from the issue text.

Description

area:code priority:p1 type:epic-theme

Theme

pipekit-cycle accepts composed steps, resumes from its own state without re-reading observations, delivers a per-step observation error, and has a settled scope for variational DA.

Parent Wave

None. This comes from geostack report 10, workstreams A and B, and from #40.

Motivation

A cycle is meant to be resumable and composable, and at 7c446f1 it is neither in two specific ways.
A stateful Sequential raises TypeError as a step_op (#162).
Two 5-step calls read observations [0, …, 4, 0, …, 4], so a restart gives a different analysis from a continuous run, by 15.4 ppb on report 10's Kalman example (#163).
Time-varying observation error has no route to an analysis step other than a private convention (#164).
#40's checklist also no longer describes what is left, so it needs a decision rather than more work (#165).

Issues

  • #162 A stateful Sequential is a valid cycle step.
  • #163 obs_clock="state" on the DA cycles.
  • #164 obs_err_source on the DA cycles.
  • #165 Decide what remains of #40.
  • #40 The original proposal, which closes or is replaced according to #165.

Execution Notes

#162 and #163 are independent.
#164 follows #163, because both sources share one index.
#165 can be decided at any time, and it blocks only #40.

Every new option defaults to today's behaviour, so existing scripts get the same results.

Parallelism

  • Can run in parallel with: #149, though da.py is shared with its analysis_time_in_window work, so stack the PRs.
  • Blocked by (inside this wave): none.
  • Must complete before: none.

Definition of Done

  • All child issues closed.
  • Cycle(Sequential([Lambda(M @ ·), Count()]), n_steps=3) returns M³ x to 0, and a stateless Sequential still raises.
  • Two 5-step calls with obs_clock="state" equal one 10-step call to 0.
  • With Σ_ε,t = (0.1 + 0.01 t) I, where Σ_ε,t is the observation-error covariance at step t, the cycle equals a hand-written Kalman filter to 0.

Relationships

  • Parent: none.
  • Related: geostack docs/reports/10_pipekit_cycle.md, #149, jejjohnson/vardax
Dominant language
Python
Stars
0
Forks
0
Avg merge
3h 50m
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jejjohnson/pipekit

All issues in jejjohnson/pipekit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.