hydromt_sfincs.components.quadtree.SfincsQuadtreeInitialConditions#
- class hydromt_sfincs.components.quadtree.SfincsQuadtreeInitialConditions(model: SfincsModel)[source]#
SFINCS initial conditions component for quadtree grids.
- __init__(model: SfincsModel)[source]#
Methods
__init__(model)close()Clean up all open datasets.
create(zsini[, fill_value, reproj_method])Setup spatially varying initial water level (ncinifile).
create_from_polygon(zsini[, zsini_buffer, ...])Setup spatially varying initial water level (ncinifile).
finish_write()Finish the write functionality after cleanup was called for all components in the model.
read()Read the initial water level layer from its own file.
test_equal(other)Test if two components are equal.
write()Write the initial water level layer to its own file.
Attributes
Return only initial-condition layers, retaining the parent mesh.
data_catalogReturn the data catalog of the model this component is associated with.
grid_variablesmaskGet an empty mask with the same shape as the model grid.
modelReturn the model object this component is associated with.
name_in_modelFind the name of the component in the parent model components.
rootReturn the root of the model this component is associated with.