nctoolkit.DataSet.cell_areas

DataSet.cell_areas(self, join=True)

Calculate the area of grid cells. Area of grid cells is given in square meters.

Parameters

join (boolean) – Set to False if you only want the cell areas to be in the output. join=True adds the areas as a variable to the dataset. Defaults to True.