hydromt_fiat.components.OutputGridComponent#
- class hydromt_fiat.components.OutputGridComponent(model: Model)[source]#
Model geometry results component.
- Parameters:
model (Model) – HydroMT model instance (FIATModel).
Attributes
boundsReturn the bounding box of the data.
crsReturn the data CRS.
Return the data.
data_catalogReturn the data catalog of the model this component is associated with.
modelReturn the model object this component is associated with.
name_in_modelFind the name of the component in the parent model components.
regionProvide access to the underlying GeoDataFrame data of the model region.
resReturns the resolution of the model grid.
rootReturn the root of the model this component is associated with.
transformReturns spatial transform of the model grid.
Methods
clear()Clear the gridded data.
clip(geom[, buffer, inplace])Clip the gridded 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 grid.
reproject(crs[, inplace])Reproject the gridded data.
set(data[, name])Set gridded data in the component.
test_equal(other)Test if two components are equal.
write()Write method.
write_region([filename, to_wgs84, ...])Write the model region to file.