Last updated on Sep 04, 2024.

netsse.base.Operation#

class netsse.base.Operation(id: str = None, area: str = 'undefined', nature: str = 'undefined', origin='undefined', datetime_start=datetime.now(), datetime_end=datetime.now(), lat_min: float = 0, lat_max: float = 0, lon_min: float = 0, lon_max: float = 0, segments: list = [])#

Initialises the operation.

Parameters:
  • id (str, optional) – Operation identifier. By default, the id string is generated randomly in the format OperXXXXX.

  • segments (list, default []) –

    List of segments (as Segment instances) gathered during the operation.

    Note

    Consult netsse.base.Collection.__init__() for information on the other parameters.

See also

Collection, Platform, Segment

Example

>>> operation1 = netsse.base.Operation()