fmeobjects.FMERasterTools.setBandNodataValue
- FMERasterTools.setBandNodataValue(nodataValue, replaceFlag, band)
Sets the nodata value on the band.
- Parameters:
nodataValue (FMETile) – New nodata value.
replaceFlag (bool) – Specifies whether the old value should be replaced with new value. When it is
False, the band will be tagged with the new ‘nodataValue’. When it isTrue, not only will the band be tagged with the new ‘nodataValue’, but also any cells with the previous nodata value will be replaced by the new ‘nodataValue’.band (FMEBand) – Band object.
- Return type:
- Returns:
The band after setting the nodata value on the band.
- Raises:
FMEException – An exception is raised if an error occurred.