datastores.Collection#
- class datastores.Collection#
Bases:
ecmwf.datastores.processing.ApiResponse
A class to interact with a catalogue collection.
- apply_constraints(request)#
Apply constraints to the parameters in a request.
- Parameters:
request (
dict[str,Any]
) – Request parameters.- Returns:
Dictionary of valid values.
- Return type:
dict[str,Any]
- submit(request)#
Submit a request.
- Parameters:
request (
dict[str,Any]
) – Request parameters.- Return type:
- property bbox: tuple[float, float, float, float]#
Bounding box of the collection (W, S, E, N).
- property begin_datetime: datetime.datetime | None#
Begin datetime of the collection.
- property description: str#
Description of the collection.
- property end_datetime: datetime.datetime | None#
End datetime of the collection.
- property id: str#
Collection ID.
- property json: Any#
Content of the response.
- property published_at: datetime.datetime#
When the collection was first published.
- property title: str#
Title of the collection.
- property updated_at: datetime.datetime#
When the collection was last updated.
- property url: str#
URL.