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

Realistic data generators + example results data for patrols workflow #181

Open cisaacstern opened 1 month ago

cisaacstern commented 1 month ago

Patrols workflow runs end-to-end but our example data is not especially visually compelling

xref #45 for a trajectories test data generator

Need to come up with a corresponding generator for events

Perhaps this implies changing the pattern of saving parquet samples directly to the repo

walljcg commented 1 week ago

Agreed. I've put together this code to generate synthetic relocations/trajectories data. Will need to think on how to contain within a given AOI. Or simply seed the initial points as some 2D Gaussian around a central point. I've generated events along the track simply by selecting a random sub-selection of the tracking points and assigning a random event type from a list.

@cisaacstern @davidovichmarcos

walljcg commented 1 week ago

Once we generate the fake relocations / events then we can use some form of this notebook to upload to ER

walljcg commented 1 week ago

@davidovichmarcos I made some updates and this seems to be working well to generate realistic synthetic tracks within a bounded polygon: https://colab.research.google.com/drive/1p3BOAMpJ0ewervvm1iSy_mzQeJWBocui?usp=sharing

See here 50,000 pnts generated within a polygon.

Image