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

data

Return only roughness layers, retaining the parent mesh.

data_catalog

Return the data catalog of the model this component is associated with.

grid_variables

mask

Get the mask from the quadtree grid.

model

Return the model object this component is associated with.

name_in_model

Find the name of the component in the parent model components.

root

Return the root of the model this component is associated with.