hydromt_sfincs.components.quadtree.SfincsQuadtreeRoughness#
- class hydromt_sfincs.components.quadtree.SfincsQuadtreeRoughness(model: SfincsModel)[source]#
- __init__(model: SfincsModel)[source]#
Methods
__init__(model)close()Clean up all open datasets.
compute_quadtree(compute_chunk, output[, ...])Traverse levels & chunks, automatically create DA, compute, and sample back.
create(roughness_list[, manning_land, ...])Interpolate roughness (Manning's n) data to the model grid.
finish_write()Finish the write functionality after cleanup was called for all components in the model.
read()Read the manning roughness layer from its own file.
test_equal(other)Test if two components are equal.
write()Write the manning roughness layer to its own file.
Attributes
Return only roughness layers, retaining the parent mesh.
data_catalogReturn the data catalog of the model this component is associated with.
grid_variablesmaskGet the mask from the quadtree 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.