hydromt_sfincs.components.config.SfincsConfig.update_grid_from_config#

SfincsConfig.update_grid_from_config() None[source]#

Update the grid properties from the configuration. This method determines the grid type based on the presence of the ‘qtrfile’ variable in the configuration. If ‘qtrfile’ is set, the grid type is set to ‘quadtree’; otherwise, it is set to ‘regular’.

Depending on the grid type, it updates the grid properties of the SfincsModel and removes the irrelevant grid component.