nctoolkit.DataSet.box_min

DataSet.box_min(x=1, y=1)

box_min: Calculate the grid box min for all variables.

This is performed for each time step.

Parameters:
  • x (int) – Number of boxes in the x, e.g. east-west direction

  • y (int or float) – Number of boxes in the y, e.g. north-south direction

Examples

If you want to calculate the min in each 4 by 4 box:

>>> ds.box_min(x=4, y=4)