ClimoAccessor.sel_hemisphere¶
- ClimoAccessor.sel_hemisphere(which, invert=None)[source]¶
Select a hemisphere or average of hemispheres. A single negative latitude is always included so that contours, lines, and whatnot extend to the equator exactly.
- Parameters
which ({‘globe’, ‘inverse’, ‘ave’, ‘nh’, ‘sh’}) – The hemisphere. May be the globe, the globe with hemispheres flipped, the average of both hemispheres, or either of the northern and southern hemispheres.
invert (bool or list of str, optional) – If this is a
DataArray
accessor,invert
should be a boolean indicating whether data should be inverted when taking the average hemisphere'ave'
. If this is aDataset
accessor,invert
should be a list of variable names that should be inverted (e.g. if the dataset contains the meridional wind'v'
and potential vorticity'pv'
, then one might useinvert=('v', 'pv')
).