{"id":38669450,"url":"https://github.com/samueljackson92/xr-tui","last_synced_at":"2026-01-17T09:53:21.888Z","repository":{"id":328027327,"uuid":"1110453245","full_name":"samueljackson92/xr-tui","owner":"samueljackson92","description":"A TUI for viewing netcdf, zarr, and hdf files.","archived":false,"fork":false,"pushed_at":"2026-01-15T18:06:10.000Z","size":19106,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-15T20:47:28.616Z","etag":null,"topics":["data","hdf","netcdf","xarray","zarr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samueljackson92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-05T08:05:56.000Z","updated_at":"2026-01-15T18:05:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/samueljackson92/xr-tui","commit_stats":null,"previous_names":["samueljackson92/xr-tui"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/samueljackson92/xr-tui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samueljackson92%2Fxr-tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samueljackson92%2Fxr-tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samueljackson92%2Fxr-tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samueljackson92%2Fxr-tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samueljackson92","download_url":"https://codeload.github.com/samueljackson92/xr-tui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samueljackson92%2Fxr-tui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","hdf","netcdf","xarray","zarr"],"created_at":"2026-01-17T09:53:21.761Z","updated_at":"2026-01-17T09:53:21.862Z","avatar_url":"https://github.com/samueljackson92.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xr-tui\n\n[![CI](https://github.com/samueljackson92/xr-tui/workflows/Lint/badge.svg)](https://github.com/samueljackson92/xr-tui/actions)\n[![GitHub stars](https://img.shields.io/github/stars/samueljackson92/xr-tui)](https://github.com/samueljackson92/xr-tui/stargazers)\n[![GitHubIssues](https://img.shields.io/badge/issue_tracking-github-blue.svg)](https://github.com/samueljackson92/xr-tui/issues)\n[![GitTutorial](https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?)](https://github.com/samueljackson92/xr-tui/pulls)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/pylint-dev/pylint)\n![PyPI - Status](https://img.shields.io/pypi/v/xr-tui)\n\n\nxr-tui is an interactive terminal user interface (TUI) for exploring and visualizing multi-dimensional datasets. It uses xarray to support loading NetCDF, Zarr, and HDF5 tree structures, and provides a user-friendly interface for data exploration directly in the terminal.\n\n![](demo.gif)\n\n## Features\n- Interactive navigation through NetCDF, Zarr, [NeXus](https://www.nexusformat.org/) and HDF5 datasets.\n- Visualization of 1D and 2D data using plotext for terminal-based plotting.\n- Support for slicing multi-dimensional data.\n- Easy-to-use command-line interface.\n- Displays dataset statistics and metadata.\n- Handles HDF5 files not formatted as xarray datasets.\n\n## Installation\nYou can install xr-tui via pip:\n\n```bash\npipx install xr-tui\n```\n\nOr as a uv tool:\n\n```bash\nuv tool install xr-tui\n```\n\n## Usage\nTo start xr-tui, simply run the following command in your terminal:\n\n```bash\nxr data.nc\n```\n\nThis will launch the TUI, allowing you to explore the contents of `data.nc`.\n\nxr-tui supports various file formats compatible with xarray, including NetCDF, Zarr, and HDF5.\n\nYou can also specify a particular group within a file to load:\n\n```bash\nxr data.nc --group summary\n```\n\nxr-tui also works with remote datasets accessible via HTTP:\n\n```bash\nxr http://example.com/data.zarr\n```\n\n\n## Key Command Reference\n\n| Key | Action |\n|-----|--------|\n| `q` | Quit the application. |\n| `h` | Show help menu. |\n| `e` | Expand all nodes in the dataset tree. |\n| `space` | Collapse all nodes in the dataset tree. |\n| Arrow keys | Navigate through the dataset. |\n| `Enter` | Select an item or open a variable |\n| `s` | Show statistics of the selected variable. |\n| `p` | Plot the selected variable. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamueljackson92%2Fxr-tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamueljackson92%2Fxr-tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamueljackson92%2Fxr-tui/lists"}