Replies: 2 comments 6 replies
-
Hi @cdeciampa , thanks very much for your input! Just an FYI, we gave out that sample notebook together as the GeoCAT team, and we have been further exploring the Datashader stack for use in the unstructured gross visualization. We just wrapped up a winner internship project on that, too, and we will keep investigating how to utilize it for Uxarray, maybe integrate through lightweight, simplified interfaces as you pointed out. Stay tuned and keep sharing your feedback with us as well as feel free to contribute in any direction! |
Beta Was this translation helpful? Give feedback.
-
Hi @cdeciampa Thanks for the suggestion. We've had a short discussion about this in #118. We are very much still coming up with the design for these wrappers, so any suggestions are more than appriciated! Have you looked into using hvPlot paired with GeoViews? I worked on researching unstructured grid visualization this summer, and hvPlot acts as a high-level API for Datashader. I used hvPlot and GeoViews in my example notebooks from my summer project which can be found here https://github.com/NCAR/geocat-scratch/tree/main/polymesh |
Beta Was this translation helpful? Give feedback.
-
For the past month or so, I've been using Datashader to visualize unstructured grid outputs from the MPAS model without the need for regridded MPAS files. A sample notebook using Datashader and the MPAS model can be viewed here. My code is very similar to the sample notebook and uses the same naming conventions for consistency.
Datashader uses HoloViews (which piggybacks off of Bokeh or Matplotlib) to output interactive global plots, which is ideal for analysis within Jupyter notebooks. Admittedly, the syntax for plotting parameter options (title, colorbar, fonts, markers, etc.) is clunky and not intuitive and the docs aren't much help when it comes to specifics, so a wrapper function in UXARRAY would be great.
Similarly, Datashader resamples the data through the
rasterize
function (imported below ashds_rasterize
) by default, which would also benefit from a wrapper function as its parameters are a bit unclear as well.Both of the images below are 3 km resolution of an artificial tropical cyclone, but Image 1 has
pixel_ratio=1
and Image 2 haspixel_ratio=10
.All that to say, I think Datashader has the potential for interactive visualization for native MPAS output and could be integrated into UXARRAY.
Beta Was this translation helpful? Give feedback.
All reactions