xarray.DataArray.pr.fillna#
- DataArray.pr.fillna(da_fill: DataArray) DataArray#
Fill missing information from other array.
Wrapper for
xarray.DataArray.fillna()which ensures that additional coordinates present in the calling DataArray are also present in the result. The defaultxarray.DataArray.fillna()implementation silently drops additional (non-indexed) coordinates if they need alignment (do not cover the same values in both DataArrays)- Parameters:
- da_fill
DataArray used to fill nan values in the calling DataArray
- Returns:
- filled
calling DataArray where nan values are filled from da_fill where possible