xarray.Dataset.pr.fillna

xarray.Dataset.pr.fillna#

Dataset.pr.fillna(ds_fill: Dataset | DataArray) Dataset#

Fill missing information from other dataset.

Wrapper for xarray.Dataset.fillna() which ensures that additional coordinates present in the calling Dataset are also present in the result. The default xarray.Dataset.fillna() implementation silently drops additional (non-indexed) coordinates if they need alignment (do not cover the same values in both Datasets)

Parameters:
ds_fill

Dataset or DataArray used to fill nan values in the calling dataset

Returns:
filled

calling Dataset where nan values are filled from ds_fill where possible