act.io.Icartt.write#

Icartt.write(filename=None, fmt='%.10g', delimiter=',')[source]#

Write the object to an ICARTT FFI 1001 file.

NLHEAD is recomputed from the content, so the header count is always consistent with what is written.

Parameters:
  • filename (str or pathlib.Path, optional) – Destination path. Defaults to the object’s name attribute.

  • fmt (str, optional) – Numeric format for the data records.

  • delimiter (str, optional) – Field delimiter. The standard mandates a comma.