wildlife-dynamics / ecoscope-workflows

An extensible task specification and compiler for local and distributed workflows.
https://ecoscope-workflows.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Task: Add temporal index #169

Closed cisaacstern closed 2 months ago

cisaacstern commented 2 months ago

To complete #168, we need a way to get Patrol Trajectories and Patrol Events to have a common index. This will allow them to be grouped using the same groupers.

The easiest one to start with is a temporal (e.g. month) index, which we can do if we have a task that does something like this, from ecoscope core:

https://github.com/wildlife-dynamics/ecoscope/blob/6e7dd1ea782c2eef07d7bf794be76e7d4a077042/ecoscope/base/utils.py#L242-L264

(h/t @walljcg for pointing that out in https://github.com/wildlife-dynamics/ecoscope-workflows/pull/51#issuecomment-2190682497.)

I will do this as part of #168

cisaacstern commented 2 months ago

closed by #170