{"id":23278543,"url":"https://github.com/hdfgroup/tar2h5","last_synced_at":"2025-06-17T10:11:09.793Z","repository":{"id":66041917,"uuid":"266122409","full_name":"HDFGroup/tar2h5","owner":"HDFGroup","description":"Convert Tape ARchives to HDF5 files","archived":false,"fork":false,"pushed_at":"2024-03-11T21:49:45.000Z","size":2366,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-03T08:51:21.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HDFGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-05-22T13:51:53.000Z","updated_at":"2022-07-26T16:49:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"67829058-31c2-46a5-9e80-10816d71645b","html_url":"https://github.com/HDFGroup/tar2h5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HDFGroup/tar2h5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HDFGroup%2Ftar2h5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HDFGroup%2Ftar2h5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HDFGroup%2Ftar2h5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HDFGroup%2Ftar2h5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HDFGroup","download_url":"https://codeload.github.com/HDFGroup/tar2h5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HDFGroup%2Ftar2h5/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260336343,"owners_count":22993740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-19T22:32:13.380Z","updated_at":"2025-06-17T10:11:04.782Z","avatar_url":"https://github.com/HDFGroup.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to `tar2h5`\nConvert Tape ARchives to HDF5 files\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/HDFGroup/tar2h5)\n\n* `archive_checker` - check how many files can be extracted from the input tar file\n* `archive_checker_64k` - check if any files within input tar files larger than 64 KB\n* `h5compactor` - convert input tar file into hdf5 file, all files within tar file should smaller than 64KB, using small files name as dataset names.\n* `h5compactor-sha1` - convert input tar file into hdf5 file, all files within tar file should smaller than 64KB, using small files sha1 values as dataset names.\n* `h5shredder` - convert input tar file into hdf5 file, no file size limitation, concatenate data and offsets into 4 seperate arrays for better randomized access\n\n## Install dependent packages (on Ubuntu-22.04-LTS)\n\n* __[HDF5 Library](https://github.com/HDFGroup/hdf5)__\n``` \nsudo apt install libhdf5-dev libhdf5-openmpi-dev\n```\n* __[libarchive](https://www.libarchive.org/)__\n```\nsudo apt install libarchive13 libarchive-dev\n```      \n* __[CMake](https://cmake.org/)__\n```\nsudo apt install cmake\n```\n* __[Open MPI](https://www.open-mpi.org/)__\n```\nsudo apt install libopenmpi-dev\n```\n* __[libssl](https://www.openssl.org/)__\n```\nsudo apt install libssl1.1 libssl-dev \n```\n\n## Install tar2h5 software\n\n```bash\ngit clone https://github.com/HDFGroup/tar2h5.git\ncd tar2h5\ncmake .\nmake\n```\n\n## Uninstall tar2h5 software\n```bash\nmake clean\n```\n\n## Run CTest\n```bash\nctest\n```\n\n## Run tar2h5 software\n```bash\n./bin/archive_checker ./demo/tar2h5-demo.tar\n./bin/archive_checker_64k ./demo/tar2h5-demo.tar\n./bin/h5compactor ./demo/tar2h5-demo.tar\n./bin/h5compactor-sha1 ./demo/tar2h5-demo.tar\n./bin/h5shredder ./demo/tar2h5-demo.tar\n```\n\n## Visualization with H5Web\n```\nhttps://myhdf5.hdfgroup.org/\n```\n\n## Visualization with HDFCompass\n```\nhttps://support.hdfgroup.org/projects/compass/\n```\n\n### Output File Format\n* `compactor` Output Sample\n![compactor](./img/01-compactor.png)\n* `compactor-sha1` Output Sample\n![compactor-sha1](./img/02-compactor-sha1.png)\n* `shredder` Output Sample\n![shredder](./img/03-shredder.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdfgroup%2Ftar2h5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhdfgroup%2Ftar2h5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdfgroup%2Ftar2h5/lists"}