hydromt_fiat.components.HazardComponent.write#
- HazardComponent.write(filename: str | None = None, gdal_compliant: bool = True, **kwargs) None[source]#
 Write the hazard data.
- Parameters:
 filename (str, optional) – Filename relative to model root. If None, the value is either taken from the model configurations or the _filename attribute, by default None.
gdal_compliant (bool, optional) – If True, write grid data in a way that is compatible with GDAL, by default True.
**kwargs (dict) – Additional keyword arguments to be passed to the write_nc method.