{"id":42009909,"url":"https://github.com/nasa/stitchee","last_synced_at":"2026-01-26T02:21:04.882Z","repository":{"id":232661109,"uuid":"680291195","full_name":"nasa/stitchee","owner":"nasa","description":"NASA Harmony service that concatenates netCDF4 data files along an existing dimension","archived":false,"fork":false,"pushed_at":"2026-01-05T21:39:38.000Z","size":19667,"stargazers_count":8,"open_issues_count":11,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-01-10T19:03:01.577Z","etag":null,"topics":["asdc","concatenation","data-combination","netcdf"],"latest_commit_sha":null,"homepage":"https://stitchee.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nasa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-08-18T20:22:29.000Z","updated_at":"2025-11-07T19:08:27.000Z","dependencies_parsed_at":"2024-04-18T18:33:49.890Z","dependency_job_id":"c18a7d28-e298-4051-945c-c475a8eb99cb","html_url":"https://github.com/nasa/stitchee","commit_stats":null,"previous_names":["nasa/stitchee","danielfromearth/stitchee"],"tags_count":143,"template":false,"template_full_name":null,"purl":"pkg:github/nasa/stitchee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasa%2Fstitchee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasa%2Fstitchee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasa%2Fstitchee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasa%2Fstitchee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasa","download_url":"https://codeload.github.com/nasa/stitchee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasa%2Fstitchee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28764899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"online","status_checked_at":"2026-01-26T02:00:08.215Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["asdc","concatenation","data-combination","netcdf"],"created_at":"2026-01-26T02:21:04.115Z","updated_at":"2026-01-26T02:21:04.869Z","avatar_url":"https://github.com/nasa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"stitchee, a python package for concatenating netCDF data along an existing dimension\"\n    src=\"https://github.com/danielfromearth/stitchee/assets/114174502/58052dfa-b6e1-49e5-96e5-4cb1e8d14c32\" width=\"250\"\n    /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.repostatus.org/#active\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://www.repostatus.org/badges/latest/active.svg\" alt=\"Project Status: Active – The project has reached a stable, usable state and is being actively developed\"\u003e\n    \u003c/a\u003e\n    \u003ca href='https://stitchee.readthedocs.io/en/latest/?badge=latest'\u003e\n        \u003cimg src='https://readthedocs.org/projects/stitchee/badge/?version=latest' alt='Documentation Status' /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://mypy-lang.org/\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://www.mypy-lang.org/static/mypy_badge.svg\" alt=\"Mypy checked\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/stitchee/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/pyversions/stitchee.svg\" alt=\"Python Versions\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/stitchee\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/stitchee?color=%2334D058label=pypi%20package\" alt=\"Package version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/nasa/stitchee\"\u003e\n     \u003cimg src=\"https://codecov.io/gh/nasa/stitchee/graph/badge.svg?token=WDj92iN7c4\" alt=\"Code coverage\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n[//]: # (Using deprecated `align=\"center\"` for the logo image and badges above, because of https://stackoverflow.com/a/62383408)\n\n# Overview\n_____\n\n_STITCHEE_ (STITCH by Extending a dimEnsion) is used for concatenating netCDF data *along an existing dimension*,\nand it is designed as both a standalone utility and for use as a service in [Harmony](https://harmony.earthdata.nasa.gov/).\n\n## Getting started, with poetry\n\n1. Follow the instructions for installing `poetry` [here](https://python-poetry.org/docs/).\n2. Install `stitchee`, with its dependencies, by running the following from the repository directory:\n\n```shell\npoetry install\n```\n\n## How to test `stitchee` locally\n\n```shell\npoetry run pytest tests/\n```\n\n## Usage\n\nFor example:\n\n```shell\npoetry run stitchee /path/to/files/directory -o output.nc --concat_method xarray-combine\n```\n\nCommand line options:\n```shell\n$ poetry run stitchee --help\nusage: stitchee [-h] -o PATH [--concat_method {xarray-concat,xarray-combine}] [--concat_dim DIM] [--sorting_variable VAR] [--xarray_arg_compat COMPAT]\n                [--xarray_arg_combine_attrs ATTRS] [--xarray_arg_join JOIN] [-O] [-v]\n                INPUT [INPUT ...]\n\nConcatenate netCDF files along existing dimensions.\n\noptions:\n  -h, --help            show this help message and exit\n  -O, --overwrite       Overwrite output file if it exists\n  -v, --verbose         Enable verbose output to stdout; useful for debugging\n\nRequired Arguments:\n  INPUT                 Input specification: multiple file paths, directory path, text file with file list, or single file to copy\n  -o PATH, --output_path PATH\n                        Output file path for concatenated result\n\nConcatenation Options:\n  --concat_method {xarray-concat,xarray-combine}\n                        Concatenation method (default: xarray-concat)\n  --concat_dim DIM      Dimension to concatenate along (required for xarray-concat)\n  --sorting_variable VAR\n                        Name of a variable to use for sorting datasets before concatenation (e.g., 'time')\n\nxarray Arguments:\n  --xarray_arg_compat COMPAT\n                        'compat' argument passed to xarray concatenation function\n  --xarray_arg_combine_attrs ATTRS\n                        'combine_attrs' argument passed to xarray concatenation function\n  --xarray_arg_join JOIN\n                        'join' argument passed to xarray concatenation function\n\nExamples:\n  stitchee file1.nc file2.nc -o output.nc --concat_dim time\n  stitchee /path/to/files/directory -o output.nc --concat_method xarray-combine\n  stitchee filelist.txt -o output.nc --concat_dim time --sorting_variable time\n```\n\n---\nThis package is NASA Software Release Authorization (SRA) # LAR-20433-1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasa%2Fstitchee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnasa%2Fstitchee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasa%2Fstitchee/lists"}