hydromt.gis.DataArray.raster.mask_nodata#

gis.DataArray.raster.mask_nodata(fill_value=nan)#

Mask nodata values with fill_value (default np.nan).

Note that masking with np.nan will change integer dtypes to float.