{"id":26668777,"url":"https://github.com/brazil-data-cube/stac2odc","last_synced_at":"2025-08-31T15:16:56.181Z","repository":{"id":41953019,"uuid":"298100662","full_name":"brazil-data-cube/stac2odc","owner":"brazil-data-cube","description":"A tool created to facilitate indexing data in the Open Data Cube using the information provided by STAC catalogs.","archived":false,"fork":false,"pushed_at":"2022-04-22T14:31:35.000Z","size":218,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T21:45:06.478Z","etag":null,"topics":["big-data","geospatial","indexing","opendatacube","stac"],"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/brazil-data-cube.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-23T21:40:10.000Z","updated_at":"2022-09-15T11:28:28.000Z","dependencies_parsed_at":"2022-08-12T00:30:41.050Z","dependency_job_id":null,"html_url":"https://github.com/brazil-data-cube/stac2odc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brazil-data-cube/stac2odc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazil-data-cube%2Fstac2odc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazil-data-cube%2Fstac2odc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazil-data-cube%2Fstac2odc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazil-data-cube%2Fstac2odc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brazil-data-cube","download_url":"https://codeload.github.com/brazil-data-cube/stac2odc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazil-data-cube%2Fstac2odc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259588914,"owners_count":22880869,"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":["big-data","geospatial","indexing","opendatacube","stac"],"created_at":"2025-03-25T21:34:58.321Z","updated_at":"2025-06-13T05:32:06.924Z","avatar_url":"https://github.com/brazil-data-cube.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"stac2odc\n=========\n\n.. image:: https://img.shields.io/github/license/brazil-data-cube/stac2odc.svg\n        :target: https://github.com/brazil-data-cube/bdc-odc/blob/master/LICENSE\n        :alt: Software License\n\n\n.. image:: https://img.shields.io/badge/lifecycle-experimental-orange.svg\n        :target: https://www.tidyverse.org/lifecycle/#experimental\n        :alt: Software Life Cycle\n\n\n.. image:: https://img.shields.io/discord/689541907621085198?logo=discord\u0026logoColor=ffffff\u0026color=7389D8\n        :target: https://discord.com/channels/689541907621085198#\n        :alt: Join us at Discord\n\nstac2odc is a tool created to facilitate indexing data in the Open Data Cube (ODC) using the information provided by STAC catalogs.\n\nTo allow different users to enjoy the benefits of indexing data in the ODC via STAC, stac2odc was developed to support several STAC versions, with varied ways of implementing and organizing resources. This is possible thanks to engine files, which are definition files of how the mapping between STAC and ODC entities should be done.\n\nThe engine files have different keys and ways to describe the mapping that is being done. With these files, it is possible to describe the mapping with predefined functions, which have advanced and straightforward mapping options. Still, it is also possible to use customized scripts, which receive the data and allow complex rules to be described.xing products and datasets in an ODC instance.\n\nGetting started\n----------------\n\nTo start using stac2odc it is necessary to install it. The following command can be used for this activity.::\n\n    pip install git+https://github.com/brazil-data-cube/stac2odc\n\nor::\n\n    git clone https://github.com/brazil-data-cube/stac2odc \\\n        \u0026\u0026 cd stac2odc \\\n        \u0026\u0026 python3 setup.py install\n\n\nAfter installation, the tool will be ready for use::\n\n    $ stac2odc\n\n    Usage: stac2odc [OPTIONS] COMMAND [ARGS]...\n\n      :return:\n\n    Options:\n      --help  Show this message and exit.\n\n    Commands:\n      collection2product  Function to convert a STAC Collection JSON to ODC...\n      item2dataset        Function to convert a STAC Collection JSON to ODC...\n\n\nTwo operations are available with the tool\n\n- ``collection2product``: This function is used to convert STAC Collections into ODC Products\n- ``item2dataset``: This function converts STAC Assets into ODC ODC Datasets\n\nDocumentation\n--------------\n\nThe complete documentation with all the options for using the tool is still being produced. However, it is possible to consume some usage examples available in the directory `examples \u003cexamples\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrazil-data-cube%2Fstac2odc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrazil-data-cube%2Fstac2odc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrazil-data-cube%2Fstac2odc/lists"}