nanmax

astropy.utils.masked.function_helpers.nanmax(a, *args, **kwargs)

Like numpy.nanmax, skipping masked values as well.

No warnings are given for fully masked/NaN slices. Instead, they are masked in the output.