file

file(path)

Assigns a Metview file handler to a file specified by path. The file handler can be used in file operations implemented by write() and append().

Parameters

path (str) – output file path

Return type

Metview file handler