nctoolkit.DataSet.centre
nctoolkit.DataSet.centre#
- DataSet.centre(self, by='latitude', by_area=False)#
Calculate the latitudinal or longitudinal centre for each year/month combination in files. This applies to each file in an ensemble.
- Parameters
by (str) – Set to ‘latitude’ if you want the latitiduinal centre calculated. ‘longitude’ for longitudinal.
by_area (bool) – If the variable is a value/m2 type variable, set to True, otherwise set to False.