Creating Orders Automatically (Systematic Production) - dlr-eoc/prosEO GitHub Wiki

Creating Orders Automatically (Systematic Production)

Since prosEO Version 2.1.0 the generation of processing orders for Systematic Production automatically is implemented. It use Order Templates to create new processing orders. In a template all necessary parameter of an order are defined. There are different ways defined as Trigger to create a new order automatically:

  • Calendar: A cron-style trigger, which is tied to specific times of day/week/month.
  • DataDriven: A trigger that fires upon ingestion of a product fulfilling certain criteria (match of product class, file class (if set) and/or processing mode (if set); trigger events may be sent by the Ingestor or by Monitors for non-prosEO pickup points (local or remote);
  • Datatake: Trigger to create a processing order for an expected datatake (not completely implemented yet).
  • Orbit: Trigger for the generation of processing orders per spacecraft orbit
  • TimeInterval: A trigger that fires in certain time intervals.

When a trigger fires the order generator use the order template referenced by the trigger to build a processinig order, then it updates the parameters defined by the trigger.

  • Generate a unique name of new order: (|)
  • Calculate the sensing start and stop time as defined by template and trigger:
    Calendar: The start time is set to the fire time. The stop time is the next fire time if it exists, otherwise it is calculated as duration between fire time and previous fire time.
    DataDriven: Start and stop time of the input product are used.
    Datatake: tbd.
    Orbit: No sensing times are set, use irbit number(s) and spacecraft code instead.
    TimeInterval: The start time is the fire time, the stop time is the fire time plus the trigger interval.
  • Set the priority.
  • Calculate the execution time.
  • For DataDriven triggers the selected parametersToCopy are copied from input product to the output parameters of new order.

Now the order is created, approved, planned and released.

Find more detailed information in the description of Order Template and Trigger.