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_variablesattribute are only written whenwrite_componentsis True, or by calling that component’swrite()directly. This coversmanning,vol,zsand all infiltration layers.- Parameters:
write_components (
bool, optional) – Also write the layers owned by other components, by calling theirwrite()after the index file exists, by default False.