Info#
- silvimetric.commands.info.check_values(start_time: datetime, end_time: datetime, bounds: Bounds, name: UUID | str)#
Validate arguments for info command.
- Parameters:
start_time – Starting datetime object.
end_time – Ending datetime object.
bounds – Bounds to query by.
name – Name to query by.
- Raises:
TypeError – Incorrect type of start_time argument.
TypeError – Incorrect type of end_time argument.
TypeError – Incorrect type of bounds argument.
TypeError – Incorrect type of name argument.
TypeError – Incorrect type of name argument.
- silvimetric.commands.info.info(tdb_dir: str, start_time: datetime = None, end_time: datetime = None, bounds: Bounds = None, name: str | UUID = None, concise: bool = False) dict #
Collect information about database in current state
- Parameters:
tdb_dir – TileDB database directory path.
start_time – Process starting time query, defaults to None
end_time – Process ending time query, defaults to None
bounds – Bounds query, defaults to None
name – Name query, defaults to None
- Returns:
Returns json object containing information on database.