This guide walks you through configuring and running the Collar Voltage Report workflow (internal id source_voltage), which pulls GPS relocations and their embedded battery/collar-voltage telemetry from EarthRanger for a named subject group, compares the current period against a configurable previous period, and produces a per-subject historic voltage chart plus a merged Word doc report.
For each subject in the selected group, the workflow delivers:
voltage columnoverall_report.docx) — cover page (with organisation logo, prepared-by, and report period) plus every subject’s historic voltage chart, generated from a downloadable templateBefore running the workflow, ensure you have:
observation_details include a battery/voltage field — the workflow looks for battery, mainVoltage, batt, or power (in that order) and uses whichever is presentIn the workflow runner, go to Workflow Templates and click Add Workflow Template. Paste the GitHub repository URL into the Github Link field:
https://github.com/wildlife-dynamics/wt-source-voltage.git
Then click Add Template.
Navigate to Data Sources and click Connect, then select EarthRanger. Fill in the connection form:
your-site.pamdas.org)Credentials are not validated at setup time. Any authentication errors will appear when the workflow runs.
Click Connect to save.
After the template is added, it appears in the Workflow Templates list. Click it to open the workflow configuration form.
The card may show Initializing… briefly while the environment is set up.
The configuration form opens with two sections at the top.
Set Workflow Details
| Field | Description |
|---|---|
| Workflow Name | A short name to identify this run |
| Workflow Description | Optional notes (e.g. subject group, site, or reporting period) |
Time Range
| Field | Description |
|---|---|
| Timezone | Select the local timezone (e.g. Africa/Nairobi UTC+03:00) |
| Since | Start date and time of the current analysis period |
| Until | End date and time of the current analysis period |
Grouping is fixed to Subject Name — there is no grouping choice to make.
Connect to EarthRanger
Select the EarthRanger data source configured in Step 2 from the Data Source dropdown.
Subject Group
Enter the name of the EarthRanger subject group to analyse in the Subject Group Name field (default: Elephants). Each subject in the group is processed individually.
Previous Period
Every option below computes a comparison period that ends on the same Start Date as your current time range (so the two periods never overlap) — only the comparison period’s own Start Date changes:
| Mode | Description |
|---|---|
| Custom | Enter your own Years / Months / Weeks / Days offset (defaults to 1 month back) |
| Preset | Choose a common lookback: 1, 3, or 6 months, or 1 year back |
| Calendar | Pick an exact Start Date |
The previous period’s relocations are used solely to compute the historic min/mean/max voltage band; if no previous-period data is found, the band collapses to the current period’s own values.
Generate Word Doc Report
| Field | Description |
|---|---|
| Report Logo | Upload the organisation logo to display on the report cover page (PNG or JPG recommended). Required if you want a logo on the cover page; leave blank to omit it — the report still generates without one. |
Once all parameters are set, click Submit.
Once submitted, the runner will:
fixtime to the analysis timezone, and derive relocations (dropping points at (180,90), (0,0), and (1,1)).fixtime and persist each as GeoParquet (relocations.parquet, previous_period_relocations.parquet).voltage column from each relocation set’s observation_details JSON, checking the battery, mainVoltage, batt, and power fields in order.<subject>_historic_voltage.html), persist the chart HTML, and convert it to PNG.overall_report.docx) — cover page (logo, prepared-by, report period) plus every subject’s historic voltage chart.ECOSCOPE_WORKFLOWS_RESULTS.All outputs are written to $ECOSCOPE_WORKFLOWS_RESULTS/. Files marked with <subject> are produced once per subject in the group.
| File | Description |
|---|---|
<subject>_historic_voltage.html / .png |
Historic voltage chart — current voltage vs. previous-period min/mean/max band |
| File | Description |
|---|---|
relocations.parquet |
All subjects’ current-period relocations, including the extracted voltage column |
previous_period_relocations.parquet |
All subjects’ previous-period relocations, including the extracted voltage column |
overall_report.docx |
Final Word doc report (cover page + every subject’s historic voltage chart) |