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

Sort Month when Using Month as the Grouper #235

Open Yun-Wu opened 2 weeks ago

atmorling commented 1 week ago

203 added a sort_values task - would it be reasonable to use that as step before applying the temporal index?

I'm asking because I was tempted to add a sort param to create_map_layer but figured there's going to be a bunch of places in a workflow (such as add_temporal_index) where we might want to optionally sort, so I figure it makes more sense to have a generic task.