Skip to contents

Splits a file from the SwissMetNet of MeteoSwiss containing multiple Exports

Usage

split_smn(fn, out_dir = NULL, suffix = "%03d.part", encoding = "UTF-8")

Arguments

fn

path to input file

out_dir

Output directory for parts

suffix

Added suffix to file name as sprintf format string. Gets file counter as argument.

encoding

Encoding of the input file