pytuflow.arr.write_outputs

pytuflow.arr.write_outputs#

class write_outputs(config, results, append=False)#

Bases:

Writes all standard TUFLOW output files for a single site.

Pass append=True when processing multiple site configs into the same output folder (all files except the per-event rf_inflow files, which are always written fresh, are appended to).

Parameters:
  • config (ArrConfig) – The ARR configuration. Files are written to config.output.path.

  • results (list[EventResult]) – The assembled events, from ArrEngine.run().

  • append (bool, optional) – If True, append to existing output files instead of overwriting them. Use for the second and subsequent sites when writing multiple sites to the same output folder. Default is False.

__init__(**kwargs)#