Generation of hydrographs as files (or file-like objects)