AI4COPSEC AI4COPSEC collekt
  • Home
  • Products
  • CLI
  • Credentials
  • Manifest
  • API reference

On this page

  • Request
    • Parameters
    • Attributes
    • Methods
      • as_dict
      • iter_days

Request

Request(region, start=None, end=None, metadata=dict())

A request to collect data.

Each selected dataset is fetched at its native cadence (temporal_sampling); thinning or aligning to a common time axis is a downstream Assembler concern, so a request carries no sampling of its own.

Parameters

Name Type Description Default
region Region Geographic region of interest. required
start str | date | datetime | None Start date or datetime. If omitted, the current UTC day is used. None
end str | date | datetime | None End date or datetime. If omitted, the start day is used. None
metadata dict[str, Any] Optional caller metadata copied to the manifest. dict()

Attributes

Name Description
end_datetime End time normalized to UTC.
start_datetime Start time normalized to UTC.

Methods

Name Description
as_dict Return a JSON-serializable request mapping.
iter_days Return UTC calendar days touched by this request.

as_dict

Request.as_dict()

Return a JSON-serializable request mapping.

iter_days

Request.iter_days()

Return UTC calendar days touched by this request.

Part of AI4COPSEC.

Built with Quarto.

GitHub