hydromt.data_catalog.uri_resolvers.RasterTindexResolver.resolve#
- RasterTindexResolver.resolve(uri: str, *, time_range: Annotated[Tuple[datetime, datetime], BeforeValidator(func=_time_range_from_str, json_schema_input_type=PydanticUndefined), AfterValidator(func=_time_range_validate)] | None = None, zoom: int | Tuple[float, str] | None = None, mask: GeoDataFrame | None = None, variables: int | tuple[float, str] | None = None, metadata: SourceMetadata | None, handle_nodata: NoDataStrategy = NoDataStrategy.RAISE) List[str] [source]#
Resolve URIs of a raster tindex file.
- Parameters:
uri (
str
) – Unique Resource Identifiertime_range (
Optional[TimeRange]
, optional) – left-inclusive start end time of the data, by default Nonemask (
Optional[Geom]
, optional) – A geometry defining the area of interest, by default Nonezoom (
Optional[Zoom]
, optional) – zoom_level of the dataset, by default Nonevariables (
Optional[List[str]]
, optional) – Names of variables to return, or all if None, by default Nonemetadata (
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