smash.PrcpIndicesResult.to_numpy#

PrcpIndicesResult.to_numpy(axis=0)[source]#

Convert the PrcpIndicesResult object to a numpy.ndarray.

The attribute arrays are stacked along a user-specified axis of the resulting array in alphabetical order based on the names of the precipitation indices.

Parameters:
axisint, default 0

The axis along which the precipitation arrays will be joined.

Returns:
resnumpy.ndarray

The PrcpIndicesResult object as a numpy.ndarray.