Backfill
arditrigger.Backfill is used to start back-filling data using your trigger(s).
You can also use BackfillLocal to pass local (rather than UTC) dates.
Parameters
Name | Default | Meaning |
---|---|---|
host | localhost | The ARDI host name |
site | default | The ARDI database/site |
fdate | The from date and time, in UTC* | |
tdate | The to date and time, in UTC* | |
servicename | ARDI Trigger | The name of the application (used in outputs) |
outputconfig | config.json | The file name containing the modular output system settings |
Description
This function starts processing your triggers using historical information.
Note that this may take some time, depending on the amount of time and data required.
* The Backfill command uses UTC times, while the BackfillLocal command is expected to take local times and dates.
Example
arditrigger.Backfill("myserver","mysite",datetime.datetime.now() - timedelta(days=1))
This function backfills data for the last calendar day.
See Also
Start and Interactive.