hydromt.model.components.VectorComponent.read#
- VectorComponent.read(*, filename: str | None = 'vector/vector.nc', geometry_filename: str | None = 'vector/vector.geojson', **kwargs) None [source]#
Read model vector from combined netcdf and geojson file.
Files are read at <root>/<filename> and geojson file at <root>/<geometry_filename>.
- Three options are possible:
- The netcdf file contains the attribute data and the geojson file the
geometry vector data.
- The netcdf file contains both the attribute and the geometry data.
(geometry_filename is ignored)
- The geojson file contains both the attribute and the geometry data.
(filename is ignored)
Key-word arguments are passed to
read_nc()