Skip to content

Add AGENTS.md and CLAUDE.md for coding agents - #15

Merged
matschaer merged 1 commit into
mainfrom
docs/agents-md
Nov 19, 2026
Merged

matschaer merged 1 commit into
mainfrom
docs/agents-md

Conversation

@matschaer

Copy link
Copy Markdown
Collaborator

Adds guidance for coding agents (and humans) working on grid-process, focused on the spatial interpolation and its operational use at MeteoSwiss. Documentation only, no code change.

  • AGENTS.md:
    • what the library is and how it is used operationally:
      • data4web interp2poi and seamless weather provider interp2grid, both with try_reg=False, and their methods;
      • static fields on the regular path;
      • cold caches in cron jobs;
    • the rules that follow: results are a contract, runtime and memory matter, measure rather than assume;
    • the development commands (as in CI) and the module layout;
    • how interp2poi and interp2grid work step by step;
    • points of attention: shared cached arrays, float32/int32 dtypes, lazy and dask sources, copies of sliced sources;
    • the operational cases described by shape (structure, CRS, sizes, dtypes), measured from the real data, so that benchmarks can use synthetic data of the same size;
    • the performance-critical horizon interpolation;
    • the NaN cases to keep correct: snow limit, lake mask;
    • the benchmark protocol, the coding conventions and the release steps.
  • CLAUDE.md: imports AGENTS.md (@AGENTS.md) for Claude Code.
  • .gitignore: ignores CLAUDE.local.md, for local notes such as the paths to internal data.

A follow-up PR will add a benchmark script with synthetic data for the operational cases.


Related issue

None


Checklist

  • Code is well documented and follows project conventions (linted, formatted)
  • CHANGELOG updated (if applicable): not applicable, developer documentation only
  • License header is added to all new files: not applicable to Markdown files (as for CONTRIBUTING.md)
  • For a new contributors, their name has been added to the AUTHORS file
  • No sensitive data or secrets are exposed
  • Unit tests added covering the new code: not applicable

🤖 Generated with Claude Code

…ases) and CLAUDE.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@matschaer
matschaer merged commit 1fed88d into main Nov 19, 2026
3 checks passed
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.

1 participant