hydromt.data_catalog.uri_resolvers.RasterTindexResolver#

pydantic model hydromt.data_catalog.uri_resolvers.RasterTindexResolver[source]#

Implementation of the URIResolver for raster tindex files.

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.

name: ClassVar[str] = 'raster_tindex'#
resolve(uri: str, *, time_range: TimeRange | None = None, zoom: int | Tuple[float, str] | None = None, mask: GeoDataFrame | None = None, variables: int | tuple[float, str] | None = None, metadata: SourceMetadata | None = None, handle_nodata: NoDataStrategy = NoDataStrategy.RAISE) List[str][source]#

Resolve URIs of a raster tindex file.

Parameters:
  • uri (str) – Unique Resource Identifier

  • time_range (Optional[TimeRange], optional) – left-inclusive start end time of the data, by default None

  • mask (Optional[Geom], optional) – A geometry defining the area of interest, by default None

  • zoom (Optional[Zoom], optional) – zoom_level of the dataset, by default None

  • variables (Optional[List[str]], optional) – Names of variables to return, or all if None, by default None

  • metadata (Optional[SourceMetadata], optional) – DataSource metadata.

  • handle_nodata (NoDataStrategy, optional) – how to react when no data is found, by default NoDataStrategy.RAISE

Returns:

a list of expanded uris

Return type:

List[str]

Raises:

NoDataException – when no data is found and handle_nodata is NoDataStrategy.RAISE