nctoolkit.DataSet.split

DataSet.split(self, by=None)

Split the dataset Each file in the ensemble will be separated into new files based on the splitting argument.

Parameters

by (str) – Available by arguments are ‘year’, ‘month’, ‘yearmonth’, ‘season’, ‘day’. year will split files by year, month will split files by month, yearmonth will split files by year and month; season will split files by year, day will split files by day.