When using rio.clip with from_disk=False (the default), areas outside of the clipping geometry are given a value of nan. When from_disk=True, these areas are assigned a value of zero. Since the latter uses rasterio.mask.mask, would it be possible to set the nodata arg of that function to something else, or at least to nan for consistency?
When using rio.clip with from_disk=False (the default), areas outside of the clipping geometry are given a value of nan. When from_disk=True, these areas are assigned a value of zero. Since the latter uses rasterio.mask.mask, would it be possible to set the nodata arg of that function to something else, or at least to nan for consistency?