Writer
Writer
¶
Bases: ABC
Base class for all writers.
checks()
¶
Optional pre-flight checks (e.g. dependencies). Override if needed.
prepare(*args, **kwargs)
¶
Load files, open handles, build FSM state, etc. Return a dict representing the full parsing context.
run(prj, ens_id, run_id, writer_args=None, writer_kwargs=None)
¶
Write data for a single ensemble run.
| PARAMETER | DESCRIPTION |
|---|---|
|
Project to store all extracted data to.
TYPE:
|
|
ID of this ensemble. This function will create the ensemble
if it does not exist in
TYPE:
|
|
Arguments for preparing the context needed for the writer.
TYPE:
|
|
Keyword arguments for preparing the context needed for the writer.
TYPE:
|