runtraj.testing.ReplayModel#

class runtraj.testing.ReplayModel[source]#

A transport model that runs nothing: each release’s particles are the table saved for it.

For each release it reads <release id>.parquet from its met’s directory and returns it as the run’s particles, as a model that writes rows at age = 0 would. It needs no workdir, reads no met files, and has no executable, so a project of it runs anywhere.

Attributes#

name

The model's short name, such as "hysplit".

needs_workdir

Whether run() is handed an empty directory for its files.

Methods#

run(release, config, met, window[, workdir, ...])

Return the particles saved for release.

Inherited#

From TransportModel: check_releases, data_files, release_rows, result, result_files, sha256, version