hydromt.data_catalog.uri_resolvers.URIResolver.resolve#
- abstract URIResolver.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, mask: GeoDataFrame | GeoSeries | None = None, variables: List[str] | None = None, zoom_level: int | Tuple[float, str] | None = None, metadata: SourceMetadata | None = None, handle_nodata: NoDataStrategy = NoDataStrategy.RAISE) List[str] [source]#
Resolve a single uri to multiple uris.
- 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_level (
Optional[ZoomLevel]
, 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) – Metadata of DataSource.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