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.

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.1.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

pan3d-0.10.1-py3-none-any.whl (53.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pan3d-0.10.1.tar.gz
  • Upload date:
  • Size: 44.7 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.1.tar.gz
Algorithm Hash digest
SHA256 779964d367c5ade8e14fc42f0bff8984ff604d4c4a03783032de8142cb2b005c
MD5 87186be874443a339c7b94a236f8a8b1
BLAKE2b-256 6d54ed07533cfa0aa883f2155413abb98c500985811017e9f6ef9876f8f87b43

See more details on using hashes here.

Provenance

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

Publisher: test_and_release.yml on Kitware/pan3d

Attestations:

File details

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

File metadata

  • Download URL: pan3d-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 53.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a7a3e50d136aaabaaf19385409aab06fabf1bebfdb12b44e98dce4e2e5fa14f
MD5 88c6d5c38189948513e92f680914a5b4
BLAKE2b-256 a5e8bf757dc2e510fabd2ed8cb9490cac96c2131d199767fac2430eb15b287c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pan3d-0.10.1-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