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 lonboard example #1715

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add lonboard example #1715

wants to merge 2 commits into from

Conversation

wx4stg
Copy link
Contributor

@wx4stg wx4stg commented Dec 29, 2024

I have created a jupyter notebook that follows the "plot nexrad reflectivity" example, but uses lonboard as the plotting library rather than matplotlib, and documents the differences in plotting with lonboard. lonboard requires a notebook environment to plot (or at least, something that can display HTML, a panel server would work too), I've included an ipynb file. This bucks the trend as most other examples are .py files, so if this is unacceptable please let me know in the discussion and we can work out the best way to include this.

Additionally, there are a few dependent libraries that are required for this to work. lonboard, as well as arro3 which handles the Arrow table data structures used by lonboard. I have no idea what this means for CI but I suspect everything will fail, at least for the initial commit.

Thanks to @kylebarron for ELI5'ing/fixing up an example to help me learn apache arrow tables, work on lonboard, and for the excellent talk at SciPy 2024 that @mgrover1 and I attended and were inspired by.

@wx4stg wx4stg requested a review from zssherman as a code owner December 29, 2024 06:53
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution here @wx4stg !! One slight change - can you organize the imports in alphabetical order, without any lines in between? The linter is picking up on these

@kylebarron
Copy link

as well as arro3 which handles

In terms of your input data, you can also use pyarrow to construct the data structures if you prefer, but lonboard will use arro3 internally.

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

Successfully merging this pull request may close these issues.

DOC: lonboard example
3 participants