hydromt_sfincs.components.grid.SfincsGrid.write#

SfincsGrid.write(write_components: bool = False) → None[source]#

Write SFINCS grid to binary files including map index file. Filenames are taken from the config attribute (i.e. input file).

Note

Layers claimed by a component through its grid_variables attribute are only written when write_components is True, or by calling that component’s write() directly. This covers manning, vol, zs and all infiltration layers.

Parameters:

write_components (bool, optional) – Also write the layers owned by other components, by calling their write() after the index file exists, by default False.