nctoolkit.DataSet.distribute

nctoolkit.DataSet.distribute#

DataSet.distribute(m=1, n=1)#

distribute: Split the dataset into multiple evenly sized horizontal and vertical new files

Parameters:
  • m (int) – Number of rows

  • n (int) – Number of columns

Examples

If you want to split the dataset into 2 by 2 with 4 new files: >>> ds.distribute(m=2, n=2)