Metadata-Version: 2.5
Name: e3sm-quickview
Version: 2.11.1
Summary: An application to explore/analyze Earth system simulation data
Author: Kitware Inc.
License: Apache Software License
License-File: LICENSE
Keywords: Application,Framework,Interactive,Python,Web
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: netcdf4>=1.6.5
Requires-Dist: pillow
Requires-Dist: pyproj>=3.6.1
Requires-Dist: trame-colormaps>=1.7.2
Requires-Dist: trame-components
Requires-Dist: trame-dataclass>=2.0.2
Requires-Dist: trame-rca[turbo]>=2.6
Requires-Dist: trame-tauri>=0.6.2
Requires-Dist: trame-vuetify>=3.1
Requires-Dist: trame>=3.13.2
Requires-Dist: wslink>=2.5.7
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: pytest-cov>=3; extra == 'dev'
Requires-Dist: pytest>=6; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: jupyter
Requires-Dist: jupyter-server-proxy>=4.0.0; extra == 'jupyter'
Provides-Extra: tauri
Requires-Dist: pyinstaller; extra == 'tauri'
Description-Content-Type: text/markdown

# QuickView

[![Test](https://github.com/Kitware/QuickView/actions/workflows/test.yml/badge.svg)](https://github.com/Kitware/QuickView/actions/workflows/test.yml)
[![Release](https://github.com/Kitware/QuickView/actions/workflows/release.yml/badge.svg)](https://github.com/Kitware/QuickView/actions/workflows/release.yml)
[![Package](https://github.com/Kitware/QuickView/actions/workflows/package.yml/badge.svg)](https://github.com/Kitware/QuickView/actions/workflows/package.yml)
[![PyPI](https://img.shields.io/pypi/v/e3sm-quickview?label=pypi%20package)](https://pypi.org/project/e3sm-quickview/)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/e3sm-quickview.svg)](https://anaconda.org/conda-forge/e3sm-quickview)
[![](https://img.shields.io/badge/Conda%20Forge%20Repo-blue)](https://github.com/conda-forge/e3sm-quickview-feedstock)

<!-- #region quickview-intro -->
**QuickView** is an open-source, interactive visualization
tool designed to help Earth system modelers take a quick look at
a collection of physical quantities in their simulation files.
The physical quantities are presented in the form of contour plots on global or regional maps.
Currently, QuickView supports cubed-sphere grids
consisting of either Gauss-Lobatto-Legendre (GLL) nodes (i.e., the `ne*np4` grids)
or finite-volume grid cells (`ne*pg2`, `ne*pg3`, etc.).

Under the hood, [ParaView](https://www.paraview.org/) and
[VTK](https://vtk.org/) supply the data-processing and graphics capabilities,
while [trame](https://www.kitware.com/trame/), a Python package,
is used to build a browser-based graphical User Interface (UI)
to provide intuitive and task-focused controls of the visualization
so that users do not need to operate ParaView or VTK themselves.
<!-- #endregion quickview-intro -->

![QuickView UI](https://raw.githubusercontent.com/Kitware/QuickView/master/docs/public/website_banner.png)

<!-- #region quickview-key-features -->
## Key Features

- Intuitive, minimalist interface tailored for Earth system modeling.
- Multi-variable visualization.
- Persistent sessions—pick up where you left off.
- Currently supporting cubed-sphere grids in a variety of configurations.
  Examples can be found in the [visualization gallery](https://kitware.github.io/QuickView/gallery/).
<!-- #endregion quickview-key-features -->

## Installation

QuickView supports local installation through desktop bundles or conda, as well as
remote usage. See the [system requirements](https://kitware.github.io/QuickView/guides/system_requirements.html)
and [installation instructions](https://kitware.github.io/QuickView/guides/install_and_launch.html).

## Runtime dependencies

QuickView's runtime dependencies are listed under `requirements.run` in the
[conda-forge feedstock recipe](https://github.com/conda-forge/e3sm-quickview-feedstock/blob/main/recipe/recipe.yaml#L28).

## User's Guide

See [documentation page](https://kitware.github.io/QuickView/guides/quickview/getting_started.html).

<!-- #region quickview-project -->

## Project Background

QuickView is developed by [Kitware, Inc.](https://www.kitware.com/) in
collaboration with
[Pacific Northwest National Laboratory](https://www.pnnl.gov/), supported by the
U.S. Department of Energy's
[ASCR](https://www.energy.gov/science/ascr/advanced-scientific-computing-research)
and
[BER](https://www.energy.gov/science/ber/biological-and-environmental-research)
programs via [SciDAC](https://www.scidac.gov/).
The development of QuickView used resources of the National Energy Research Scientific Computing Center
([NERSC](https://www.nersc.gov/)), a U.S. Department of Energy User Facility.

### Contributors

- **Lead Developer**: Abhishek Yenpure (now at NVIDIA) for version 1; [Sebastien Jourdain](https://www.kitware.com/sebastien-jourdain/) ([Kitware, Inc.](https://www.kitware.com/)) from version 2 onwards.
- **Key Contributors**: Berk Geveci, Patrick O'Leary, Dan Lipsa, Will Dunklin (Kitware, Inc.); Hui Wan, Kai Zhang (PNNL)

<!-- #endregion quickview-project -->

## License

Apache Software License - see [LICENSE](LICENSE) file for details.

## Commit message convention

Semantic release rely on
[conventional commits](https://www.conventionalcommits.org/) to generate new
releases and changelog.

## Claude Code skills

The repository ships [Claude Code](https://claude.com/claude-code) skills under
[`.claude/skills/`](https://github.com/Kitware/QuickView/tree/master/.claude/skills)
to automate recurring maintenance tasks. In a Claude Code session started at the
root of the repository, invoke them with a slash command (or simply ask for the
task, e.g. "validate my changes", and Claude picks the matching skill).

### `/validate`: check code and documentation

Runs the checks expected before a commit or pull request, then reviews
documentation drift.

```text
/validate              # changes since the merge-base with origin/master, plus uncommitted files
/validate all          # the whole repository
/validate docs         # default scope, documentation-related review only
/validate code         # default scope, code-related review only
/validate HEAD~3       # changes since a given git ref
```

1. **Deterministic checks** (`.claude/skills/validate/scripts/check.py`):
   pre-commit hooks with auto-fix (ruff, prettier, whitespace), codespell
   (reported, never fixed without asking), version consistency across the
   semantic-release files, JSON validity, Conventional Commit subjects,
   `python -m e3sm_quickview.app --help`, and the VitePress docs build
   (dead links).
2. **Review** guided by a doc-to-code map
   (`.claude/skills/validate/references/doc-code-map.md`): keyboard shortcuts,
   CLI options, UI labels, state file contents, CI and developer docs, and
   configuration paths are compared with the code.

It ends with a report (auto-fixed files, blocking issues, should-fix items,
nits, skipped checks). Formatter fixes are applied to the working tree; other
findings are proposed and only applied once you agree, except unambiguous
factual corrections (e.g., a wrong key letter or file path).

Requirements: `pre-commit`, QuickView importable from the current Python or a
`quickview` conda env (for the startup check; skipped otherwise), and `npm`
for the docs build (dependencies are installed with `npm ci` when missing).

### `/screenshots`: regenerate the documentation screenshots

Recreates the images in `docs/guides/quickview/screenshots/` from the current
code by replaying one recipe per image
(`.claude/skills/screenshots/recipes.yaml`): the state file or data to load,
the UI steps, the crop, and the red highlight boxes.

```text
/screenshots                                    # all images
/screenshots map_projections.png quickview_ui.png   # only these
```

The skill can also be run directly:

```sh
uv run .claude/skills/screenshots/scripts/capture.py --out /tmp/qv-shots   # review first
uv run .claude/skills/screenshots/scripts/capture.py                       # overwrite the docs images
uv run .claude/skills/screenshots/scripts/capture.py --list                # list the recipes
```

Each capture starts a fresh QuickView server and drives the locally installed
Google Chrome through Playwright. The run prints a work directory with a
before/after `review.png`, which Claude checks image by image before keeping
the result. Images whose data files cannot be found are skipped and keep their
current version.

Requirements: [`uv`](https://docs.astral.sh/uv/), Google Chrome, a Python
environment with QuickView installed (the `quickview` conda env by default, or
`--python` / `QUICKVIEW_PYTHON`), and the data files referenced by the
screenshot state files, searched by file name under `../Data` next to the
repository (or `--data-dir` / `QUICKVIEW_DATA`).
