{"id":26337353,"url":"https://github.com/data-exp-lab/yt_xarray","last_synced_at":"2026-02-12T09:34:43.080Z","repository":{"id":61373747,"uuid":"473251014","full_name":"data-exp-lab/yt_xarray","owner":"data-exp-lab","description":"An interface for yt and xarray","archived":false,"fork":false,"pushed_at":"2026-01-19T21:15:35.000Z","size":17014,"stargazers_count":3,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-20T03:59:03.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/data-exp-lab.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/supported_grids.rst","governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-23T15:35:03.000Z","updated_at":"2025-12-15T15:28:08.000Z","dependencies_parsed_at":"2023-10-10T18:26:05.562Z","dependency_job_id":"8f111f22-b949-42e1-bdf7-83ea9e92b3ca","html_url":"https://github.com/data-exp-lab/yt_xarray","commit_stats":{"total_commits":98,"total_committers":1,"mean_commits":98.0,"dds":0.0,"last_synced_commit":"26a2ace65535da6169b173f5c473eb4fa59b68f8"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/data-exp-lab/yt_xarray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-exp-lab%2Fyt_xarray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-exp-lab%2Fyt_xarray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-exp-lab%2Fyt_xarray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-exp-lab%2Fyt_xarray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/data-exp-lab","download_url":"https://codeload.github.com/data-exp-lab/yt_xarray/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-exp-lab%2Fyt_xarray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"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":[],"created_at":"2025-03-16T02:18:30.323Z","updated_at":"2026-02-12T09:34:43.051Z","avatar_url":"https://github.com/data-exp-lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yt_xarray\n\n[![PyPI version](https://badge.fury.io/py/yt_xarray.svg)](https://badge.fury.io/py/yt_xarray)\n[![Python Version](https://img.shields.io/pypi/pyversions/yt_xarray.svg?color=green)](https://python.org)\n[![Tests](https://github.com/data-exp-lab/yt_xarray/actions/workflows/run-pytest-tests.yml/badge.svg)](https://github.com/data-exp-lab/yt_xarray/actions/workflows/run-pytest-tests.yml)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/data-exp-lab/yt_xarray/main.svg)](https://results.pre-commit.ci/latest/github/data-exp-lab/yt_xarray/main)\n\nAn interface between yt and xarray\n\n## Overview\n\nyt_xarray streamlines communication between\n[xarray](https://docs.xarray.dev/en/stable/#) and [yt](https://yt-project.org),\nmaking it easier use yt's visualization and analysis methods with data loaded\nvia xarray.\n\nPresently, yt_xarray primarily adds methods to generate a yt dataset from a\nsubset of xarray dataset fields, without making copies of data when possible.\n\nFor a more detailed description, check out the full documentation at\n[https://yt-xarray.readthedocs.io](https://yt-xarray.readthedocs.io/en/latest/).\n\n## Quick Start\n\n### Installation\n\nThe latest stable version can be installed using `pip` with:\n\n```commandline\n$ pip install yt_xarray\n```\n\nThis will install both xarray and yt if you are missing one or the other.\n\n### Usage\n\nThe main access point is the `YtAccessor` object for xarray. To\nuse it, simply import `yt_xarray` and the `.yt` object will be available to\nxarray datasets. For example, to convert the xarray dataset into a full-fledged\nyt dataset:\n\n```python\nimport xarray as xr\nimport yt_xarray\n\nds = xr.open_dataset(...)\nyt_ds = ds.yt.load_grid()\n```\nIn this example, `ds.yt.grid()` returns a yt dataset using all of the fields in\nthe xarray dataset, ready to use with any yt command. This will, however, only\nwork if all of your data is defined on the same grid using coordinate names that\nyt understands. So for more complex cases, see the [example notebooks](https://yt-xarray.readthedocs.io/en/latest/examples.html)\nand the [FAQ](https://yt-xarray.readthedocs.io/en/latest/examples.html) on how\nto handle those cases.\n\n## Examples\n\nCheck out the [example notebooks](https://yt-xarray.readthedocs.io/en/latest/examples.html)\nand the [FAQ](https://yt-xarray.readthedocs.io/en/latest/examples.html) for examples and\ndescriptions of common issues.\n\n## Getting Help\n\nBug reports and questions are welcome via [github issues](https://github.com/data-exp-lab/yt_xarray/issues).\nYou can also reach out via the yt slack channel\n([see here for how to join](https://yt-project.org/community.html)) by messaging\nChris Havlin directly or posting in help (though you should tag @Chris Havlin in\nyour post to get a faster response.)\n\n## Contributions\n\nContributions are welcome, see [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdata-exp-lab%2Fyt_xarray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdata-exp-lab%2Fyt_xarray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdata-exp-lab%2Fyt_xarray/lists"}