hydromt.Dataset.vector.to_netcdf#
- Dataset.vector.to_netcdf(path: str, ogr_compliant: bool = False, reducer=None, **kwargs) None #
Export geodataset vectordata to an ogr compliant netCDF4 file.
- Parameters:
path (
str
) – Output path for netcdf file.ogr_compliant (
bool
) – write the netCDF4 file in an ogr compliant format This makes it readable as a vector file in e.g. QGIS seeogr_compliant()
for more details.reducer (
callable
, optional) – Method by which multidimensional data is reduced to 1 dimensional e.g. numpy.meankwargs – Any additional arguments to be passed down to the driver.