Utility package for processing and visualizing 3D datasets
Project description
Pan3D
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.
For an introduction to this project, check out our blog post.
Installation
To install requirements for the DatasetBuilder class only:
pip install pan3d
To install requirements for the DatasetViewer user interface:
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
pan3d-viewer
is the main entrypoint for launching Pan3D locally. Below are some example usages.
To launch Pan3D without a target dataset to browse XArray examples:
pan3d-viewer
To launch Pan3D with a local path to a target dataset:
pan3d-viewer --dataset=/path/to/dataset.zarr
To launch Pan3D with a remote URL to a target dataset:
pan3d-viewer --dataset=https://host.org/link/to/dataset.zarr
To launch Pan3D with a compatible configuration file (see examples):
pan3d-viewer --config_path=/path/to/pan3d_state.json
To launch Pan3D with the option to browse the Pangeo and ESGF Dataset Catalogs:
pan3d-viewer --catalogs pangeo esgf
Or you may specify only one catalog:
pan3d-viewer --catalogs pangeo
pan3d-viewer --catalogs esgf
The
pan3d-viewer
entrypoint will automatically launch your default browser to openlocalhost: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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pan3d-0.8.8.tar.gz
.
File metadata
- Download URL: pan3d-0.8.8.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66278d77cb7dad8d286ae7c5ebb67670afd59c8a0d4480906f533b40d10840a9 |
|
MD5 | 18bedc093a45b0c6ad96fa8f37ea1001 |
|
BLAKE2b-256 | 797737f1199a7605c79599d0b0feffcd1b7562cc1a43d07bd32f5c7ef8688ba3 |
File details
Details for the file pan3d-0.8.8-py3-none-any.whl
.
File metadata
- Download URL: pan3d-0.8.8-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23e3143bfa72c3fc0bad1c408ad03152401bfdbafa14f64bfeb09ec7cbeb9cc |
|
MD5 | 3d81a686a035189d03c74ff647250d17 |
|
BLAKE2b-256 | 6cae1502a49d6fe0e808f80d23a1b25366e66903823e91d351198757d63fc7f3 |