def raster_ds_set_nodata(raster_ds, input_nodata):
    """Set raster dataset nodata value for all bands

    Parameters
    ----------
    raster_ds :

    Returns
    -------
    None

    """
    band_cnt = raster_ds.RasterCount
    for band_i in range(band_cnt):
        band = raster_ds.GetRasterBand(band_i + 1)
        band.SetNoDataValue(input_nodata)
