Skip to main content

Utility package for processing and visualizing 3D datasets

Project description

Pan3D

Kitware Logo

Documentation Status Binder Build Status PyPI Version License

Pan3D aims to be an utility package for viewing and processing a wide variety of multidimensional datasets. Any dataset that can be interpreted with xarray can be explored and rendered with Pan3D. Read The Doc is available for additional information.

XArray Viewer is a Pan3D application focused on geospatial rendering use cases. This is a graphical user interface leveraging the Pan3D infrastructure to help geospatial scientists explore data.

For an introduction to this project, check out our blog post.

Installation

To install requirements for the Pan3D VTK mesh builder class only:

pip install pan3d

To install requirements for the graphical user interface (viewers + explorers):

pip install "pan3d[viewer]"

Optional: to install requirements for Pangeo and ESGF catalogs, respectively:

pip install "pan3d[pangeo]"

pip install "pan3d[esgf]"

Recommended: To install all requirements, including optional packages:

pip install "pan3d[all]"

Quick Start

xr-viewer is the main entrypoint for launching XArray Viewer locally. Below are some example usages.

To launch XArray Viewer without a target dataset to browse XArray examples:

xr-viewer

To launch XArray Viewer with a local path to a target dataset:

xr-viewer --xarray-file ./examples/example_dataset.nc

To launch XArray Viewer with a remote URL to a target dataset:

xr-viewer --xarray-url https://host.org/link/to/dataset.zarr

To launch XArray Viewer with a compatible configuration file (see examples):

xr-viewer --import-state ./examples/example_config_xarray.json

To launch the Catalog browser will allow you to query the Pangeo and ESGF Dataset Catalogs (see Catalogs Tutorial) depending on the available dependencies:

xr-catalog

You may have to install the required dependencies:

pip install "pan3d[pangeo]"
pip install "pan3d[esgf]"

The xr-viewer entrypoint will automatically launch your default browser to open localhost:8080.

To launch without opening your browser, add the --server argument to your command.

Tutorials

Examples

Pan3D comes with a set of example configuration files and example Jupyter notebooks in the examples folder. You can checkout the repository to run these locally, or you can use the Pan3D Binder instance to run these examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pan3d-0.10.2.tar.gz (45.0 kB view details)

Uploaded Source

Built Distribution

pan3d-0.10.2-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file pan3d-0.10.2.tar.gz.

File metadata

  • Download URL: pan3d-0.10.2.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pan3d-0.10.2.tar.gz
Algorithm Hash digest
SHA256 ceb75c0e04a4c5dedcc2fd2f00092cb8a42fc2ec5dfc865dcd3d1b63419cc071
MD5 adc4afb73598387c1d9fe08098c0e69a
BLAKE2b-256 2258ecc9ec624c62651ceea296965b6638ac8dd43b1e4c2f31d9e0def4d29964

See more details on using hashes here.

Provenance

The following attestation bundles were made for pan3d-0.10.2.tar.gz:

Publisher: test_and_release.yml on Kitware/pan3d

Attestations:

File details

Details for the file pan3d-0.10.2-py3-none-any.whl.

File metadata

  • Download URL: pan3d-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pan3d-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da13f7af10783778a42747d72f9e20dedd8be370a9e4c01062d5356538a1d40a
MD5 925a070ff7febdb72b8aa073a9cfc458
BLAKE2b-256 3ad8c82b91311135a02c2cfed3f118adabbf3051585136383895c42499787300

See more details on using hashes here.

Provenance

The following attestation bundles were made for pan3d-0.10.2-py3-none-any.whl:

Publisher: test_and_release.yml on Kitware/pan3d

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page