Create ability for CFA support for a running model, updating as new cycles come in.

Open
#3 0 comments 0 reactions 1 assignee View on GitHub

@bnlawrence is already working on this.

Since Nov 13, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement ensembles4AI
Goal

Our next step will be to create CFA files, one per variable, for the contents of an output simulation folder.

We want CFA output files to appear in a configurable folder,

When we are building the CFA files we want the full absolute path to the child files.

Context

This workflow has to assume that the number of files will be growing, so let's first describe the background workflow:

  • model simulations are arriving on disk, and being converted using ppfix into files which will be present in the source folder folder in subfolders atmos,ocean,seaice.

  • at any given time, we want to create CFA files for what we have, but we can expect to have to update them in the future (as new files appear).

  • Our problem is that on first run, we can produce a CFA file for all variables for the data in the source folders, but at a future time, there could be new files as well as old files.

  • We could ensure that every CFA file has an attribute that is the "CFA_creation_time" which is the time used to do a glob of files to be used as the input for the CFA ... and then then next time we run, we check for an existing CFA file, and glob only the files that came after that time, and then concatenate the existing CFA with the new files.

Dominant language
Python
Stars
0
Forks
0
Avg merge
3d 1h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 NCAS-CMS/ppfix

All issues in NCAS-CMS/ppfix

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.