hydromt.data_catalog.drivers.RasterXarrayOptions#

pydantic model hydromt.data_catalog.drivers.RasterXarrayOptions[source]#

Options for RasterXarrayDriver.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

field preprocess: str | None = None#

Name of preprocessor to apply before merging datasets. Available preprocessors include: round_latlon, to_datetimeindex, remove_duplicates, harmonise_dims. See their docstrings for details.

field ext_override: str | None = None#

Override the file extension check and try to read all files as the given extension. Useful when reading zarr files without the .zarr extension.

get_preprocessor() Callable[[Dataset], Dataset][source]#

Get the preprocessor function.

get_ext_override(uris: list[str]) str | None[source]#

Get the extension override.