hydromt_fiat.components.OutputGeomsComponent#

class hydromt_fiat.components.OutputGeomsComponent(model: Model)[source]#

Model geometry results component.

Parameters:

model (Model) – HydroMT model instance (FIATModel).

Attributes

bounds

Return the total bounds of the model region.

crs

Provide access to the CRS of the model region.

data

Geometries.

data_catalog

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

model

Return the model object this component is associated with.

name_in_model

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

region

Provide access to the underlying GeoDataFrame data of the model region.

root

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

Methods

aggregate_square(output_name[, res, method, ...])

Aggregate FIAT vector output data to a square cell grid.

clear()

Clear the geometry data.

clip(geom[, inplace])

Clip the vector data.

close()

Clean up all open datasets.

finish_write()

Finish the write functionality after cleanup was called for all components in the model.

read([filename])

Read the model output geometries.

reproject(crs[, inplace])

Reproject the vector data.

set(data, name)

Set data in the geoms component.

test_equal(other)

Test if two components are equal.

write()

Write method.

write_region([filename, to_wgs84, ...])

Write the model region to file.