hydromt.VectorModel.read_vector#
- VectorModel.read_vector(fn: str = 'vector/vector.nc', fn_geom: str = 'vector/vector.geojson', **kwargs) None #
Read model vector from combined netcdf and geojson file.
Files are read at <root>/<fn> and geojson file at <root>/<fn_geom>.
- 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.
(fn_geom is ignored)
- The geojson file contains both the attribute and the geometry data.
(fn is ignored)
Key-word arguments are passed to
read_nc()