Awesome icon_uxarray created by jcanton
Project Links
Meta
Author: jcanton
Classifiers
icon_uxarray
Awesome icon_uxarray created by jcanton
Install it from PyPI
pip install icon-uxarray
Usage
Convert an icon grid to be UGRID-compatible
from icon_uxarray import icon_grid_2_ugrid
ugrid_fname = icon_grid_2_ugrid(iconGrid_fname='some_icon_grid.nc')
then use it for plotting
import uxarray as ux
import holoviews as hv
import panel as pn
# open dataset
uxds = ux.open_dataset(grid_fname, data_fname)
# static plot
hvplot = uxds['temp'].isel(time=0).isel(height=0).plot()
server = pn.panel(hvplot).show()
# interactive plot
def sliders_plot(itime, iheight):
return uxds['temp'].isel(time=itime).isel(height=iheight).plot()
torus = hv.DynamicMap(sliders_plot, kdims=['time', 'height'])
hvplot = torus.redim.range(time=(0, len(uxds.time)), height=(0, len(uxds.height)))
server = pn.panel(hvplot).show()
Development
Read the CONTRIBUTING.md file.
Apr 10, 2024
0.1.8
Apr 10, 2024
0.1.7
Apr 09, 2024
0.1.6
Apr 09, 2024
0.1.5
Apr 09, 2024
0.1.4
Apr 09, 2024
0.1.3
Apr 08, 2024
0.1.0
Wheel compatibility matrix
Files in release
Extras:
Dependencies: