Skip to main content

icon_uxarray

codecov CI

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.

Metadata

Release files for icon-uxarray 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icon-uxarray 0.1.8
File Size Uploaded
icon_uxarray-0.1.8.tar.gz 40.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for icon-uxarray 0.1.8
File Interpreter ABI Platform
icon_uxarray-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 46.5 kB

Release files / icon_uxarray-0.1.8.tar.gz

Download URL icon_uxarray-0.1.8.tar.gz
Size 40.3 kB
Tags Source
SHA-256 checksum
How to use checksums
026ea592908b344f6f4afb352ab1eb53f6c738861e6a39a2f7338b8bbd24a57f
BLAKE2b-256 checksum
How to use checksums
a73be9bd11766695347797e46edd7de793c0e7cf922eec87d73dcd2359e3af9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / icon_uxarray-0.1.8-py3-none-any.whl

Download URL icon_uxarray-0.1.8-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23b867e2b2f47713a659078f7c814bb4099e4d780213ef4b46f788ee7c616202
BLAKE2b-256 checksum
How to use checksums
bc53f51742f76863d2c51ac361a8aa8136d147cc210cdd88b92682337ab615cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page