{"id":41340634,"url":"https://github.com/tkarabela/ensight-reader","last_synced_at":"2026-01-23T06:48:58.992Z","repository":{"id":37992450,"uuid":"474470124","full_name":"tkarabela/ensight-reader","owner":"tkarabela","description":"A pure Python reader for the EnSight Gold format","archived":false,"fork":false,"pushed_at":"2025-11-13T22:23:59.000Z","size":448,"stargazers_count":9,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-14T00:11:09.368Z","etag":null,"topics":["cae","cfd","data-format","ensight","ensight-gold","file-format-library","python"],"latest_commit_sha":null,"homepage":"https://ensight-reader.readthedocs.io","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/tkarabela.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-03-26T21:26:55.000Z","updated_at":"2025-11-13T22:23:54.000Z","dependencies_parsed_at":"2024-11-10T03:22:04.751Z","dependency_job_id":"638c770c-8ce9-497d-8e22-dcefba1389c9","html_url":"https://github.com/tkarabela/ensight-reader","commit_stats":{"total_commits":74,"total_committers":3,"mean_commits":"24.666666666666668","dds":0.1216216216216216,"last_synced_commit":"6e6782408c63c1238feac2591d2233ef50e7768e"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/tkarabela/ensight-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkarabela%2Fensight-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkarabela%2Fensight-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkarabela%2Fensight-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkarabela%2Fensight-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkarabela","download_url":"https://codeload.github.com/tkarabela/ensight-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkarabela%2Fensight-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"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":["cae","cfd","data-format","ensight","ensight-gold","file-format-library","python"],"created_at":"2026-01-23T06:48:58.924Z","updated_at":"2026-01-23T06:48:58.984Z","avatar_url":"https://github.com/tkarabela.png","language":"Python","readme":"[![CI - build](https://img.shields.io/github/actions/workflow/status/tkarabela/ensight-reader/main.yml?branch=master)](https://github.com/tkarabela/ensight-reader/actions)\n[![CI - coverage](https://img.shields.io/codecov/c/github/tkarabela/ensight-reader)](https://app.codecov.io/github/tkarabela/ensight-reader)\n[![MyPy \u0026 Ruffle checked](https://img.shields.io/badge/MyPy%20%26%20Ruffle-checked-blue?style=flat)](https://github.com/tkarabela/pysubs2/actions)\n![PyPI - Version](https://img.shields.io/pypi/v/ensight-reader.svg?style=flat)\n![PyPI - Status](https://img.shields.io/pypi/status/ensight-reader.svg?style=flat)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ensight-reader.svg?style=flat)\n![License](https://img.shields.io/pypi/l/ensight-reader.svg?style=flat)\n\n# ensight-reader\n\nThis library provides a pure Python reader (with some writing capability) for the EnSight Gold data format,\na common format for results of computational fluid dynamics (CFD) simulations.\nIt also comes with a few CLI tools, notably `ensight_transform` which\nallows you to perform in-place scaling/translation/etc. of the geometry in your case.\n\nThe library designed for efficient, selective, memory-mapped access to data from EnSight Gold case –\nsomething that would be useful when importing the data into other systems. If you're looking for a more \"batteries included\" solution, look at\n[`vtkEnSightGoldBinaryReader`](https://vtk.org/doc/nightly/html/classvtkEnSightGoldBinaryReader.html)\nfrom the VTK library ([see docs for comparison](https://ensight-reader.readthedocs.io/en/latest/design-howto.html#comparison-with-vtk-library)).\n\n### Requirements\n\n- Python 3.9+\n- NumPy 1.22+\n\n### Installation\n\n```sh\npip install ensight-reader\n```\n\n### Example – Python API\n\n```python\nimport ensightreader\nimport numpy as np\n\ncase = ensightreader.read_case(\"example.case\")\ngeofile = case.get_geometry_model()\n\npart_names = geofile.get_part_names()           # [\"internalMesh\", ...]\npart = geofile.get_part_by_name(part_names[0])\nN = part.number_of_nodes\n\nwith geofile.open() as fp_geo:\n    node_coordinates = part.read_nodes(fp_geo)  # np.ndarray((N, 3), dtype=np.float32)\n\nvariable = case.get_variable(\"UMean\")\n\nwith variable.mmap_writable() as mm_var:\n    data = variable.read_node_data(mm_var, part.part_id)\n    data[:] = np.sqrt(data)                     # transform variable data in-place\n```\n\n### Example – CLI\n\n```sh\n# increment X coordinate\nensight_transform --translate 1 0 0 sphere.case\n\n# scale by 1000 (eg. m -\u003e mm conversion)\nensight_transform --scale 1e3 1e3 1e3 sphere.case\n\n# rotation matrix\nensight_transform --matrix \\\n    0 -1  0  0 \\\n    1  0  0  0 \\\n    0  0  1  0 \\\n    0  0  0  1 \\\n    sphere.case\n\n# transform only \"internalMesh\" part\nensight_transform --translate 1 0 0 --only-parts internalMesh motorbike.case\n```\n\nTo learn more, please [see the documentation](https://ensight-reader.readthedocs.io).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkarabela%2Fensight-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkarabela%2Fensight-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkarabela%2Fensight-reader/lists"}