Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hex labelling package? #8

Open
willirath opened this issue Feb 20, 2023 · 1 comment
Open

Add hex labelling package? #8

willirath opened this issue Feb 20, 2023 · 1 comment

Comments

@willirath
Copy link
Contributor

I'm developing a package which we internally use / plan to use for aggregating trajectories into hexagonal grids: https://github.com/willirath/hextraj

The package is under heavy development (or at least, I'm hoping to work on it a lot over the next few weeks :) ) and currently mostly provides an easy way to label trajectories based on a regional hexagonal grid or arbitrary hex size. The labelled dataset then allows for using xarray's groupby or similar for aggregation.

There's a a tutorial notebook which shows most applications which are currently possible: https://nbviewer.org/github/willirath/hextraj/blob/main/notebooks/hextraj_tutorial.ipynb

@LauraGomezNavarro
Copy link
Collaborator

Hi Willi,

Sounds interesting. Here the idea is to add examples of Lagrangian diagnostics using the same toy dataset (see the Simulations folder). If you want to create example with this method you mention, we would be glad to have a look at this method :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants