{"id":23192878,"url":"https://github.com/opendatacube/datacube-core","last_synced_at":"2026-05-19T07:17:17.908Z","repository":{"id":31961074,"uuid":"35531022","full_name":"opendatacube/datacube-core","owner":"opendatacube","description":"Open Data Cube analyses continental scale Earth Observation data through time","archived":false,"fork":false,"pushed_at":"2026-03-05T02:50:41.000Z","size":53473,"stargazers_count":570,"open_issues_count":80,"forks_count":188,"subscribers_count":47,"default_branch":"develop","last_synced_at":"2026-03-05T06:17:46.038Z","etag":null,"topics":["gdal","gis","hacktoberfest","netcdf","numpy","python","raster","remote-sensing","scientific-computing"],"latest_commit_sha":null,"homepage":"http://www.opendatacube.org","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/opendatacube.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","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":"2015-05-13T05:58:13.000Z","updated_at":"2026-03-05T02:50:44.000Z","dependencies_parsed_at":"2023-11-27T11:08:11.881Z","dependency_job_id":"867dd772-2ed6-4057-b97a-4c99bf083e7b","html_url":"https://github.com/opendatacube/datacube-core","commit_stats":{"total_commits":6064,"total_committers":92,"mean_commits":65.91304347826087,"dds":0.8177770448548812,"last_synced_commit":"0a10939faad1f099f9a28d72c1e8da138902ac79"},"previous_names":[],"tags_count":107,"template":false,"template_full_name":null,"purl":"pkg:github/opendatacube/datacube-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fdatacube-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fdatacube-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fdatacube-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fdatacube-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opendatacube","download_url":"https://codeload.github.com/opendatacube/datacube-core/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendatacube%2Fdatacube-core/sbom","scorecard":{"id":447810,"data":{"date":"2025-08-11","repo":{"name":"github.com/opendatacube/datacube-core","commit":"c79334c0e24e058e2e39aca8d793862aa93d7e69"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.5,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: found token with 'none' permissions: .github/workflows/doc-qa.yaml:1","Info: found token with 'none' permissions: .github/workflows/lint.yaml:1","Info: found token with 'none' permissions: .github/workflows/main.yml:1","Info: found token with 'none' permissions: .github/workflows/scan.yaml:1","Info: found token with 'none' permissions: .github/workflows/test-conda-build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/main.yml:29"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: containerImage not pinned by hash: docker/Dockerfile:9","Warn: containerImage not pinned by hash: docker/Dockerfile:37","Warn: containerImage not pinned by hash: docker/Dockerfile:63","Info:   9 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:  12 out of  12 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-19T07:21:05.929Z","repository_id":31961074,"created_at":"2025-08-19T07:21:05.931Z","updated_at":"2025-08-19T07:21:05.931Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30365484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["gdal","gis","hacktoberfest","netcdf","numpy","python","raster","remote-sensing","scientific-computing"],"created_at":"2024-12-18T13:09:28.169Z","updated_at":"2026-03-11T01:18:29.420Z","avatar_url":"https://github.com/opendatacube.png","language":"Python","funding_links":[],"categories":["Open Data Cube"],"sub_categories":["Testing your code"],"readme":"Open Data Cube Core\n===================\n\n.. image:: https://github.com/opendatacube/datacube-core/actions/workflows/main.yml/badge.svg\n    :alt: Build Status\n    :target: https://github.com/opendatacube/datacube-core/actions\n\n.. image:: https://codecov.io/gh/opendatacube/datacube-core/branch/develop/graph/badge.svg\n    :alt: Coverage Status\n    :target: https://codecov.io/gh/opendatacube/datacube-core\n\n.. image:: https://app.readthedocs.org/projects/opendatacube/badge/?version=latest\n    :alt: Documentation Status\n    :target: https://opendatacube.readthedocs.org/en/latest/\n\n.. image:: https://img.shields.io/discord/1212501566326571070?label=Discord\u0026logo=discord\u0026logoColor=white\u0026color=7289DA)](https://discord.gg/4hhBQVas5U\n    :alt: Discord\n    :target: https://discord.com/invite/4hhBQVas5U\n\nOverview\n========\n\nThe Open Data Cube Core provides an integrated gridded data\nanalysis environment for decades of analysis ready earth observation\nsatellite and related data from multiple satellite and other acquisition\nsystems.\n\nDocumentation\n=============\n\nSee the `user guide \u003chttps://opendatacube.readthedocs.io/en/latest/\u003e`__ for\ninstallation and usage of the datacube, and for documentation of the API.\n\n`Join our Discord \u003chttps://discord.com/invite/4hhBQVas5U\u003e`__ if you need help\nsetting up or using the Open Data Cube.\n\nPlease help us to keep the Open Data Cube community open and inclusive by\nreading and following our `Code of Conduct \u003ccode-of-conduct.md\u003e`__.\n\nThis is a ``1.9.x`` series release of the Open Data Cube.  If you are migrating from a ``1.8.x``\nseries release, please refer to the\n`1.8.x to 1.9.x Migration Notes \u003chttps://opendatacube.readthedocs.io/en/latest/installation/MIGRATION-1.8-to-1.9.html\u003e`_.\n\nRequirements\n============\n\nSystem\n~~~~~~\n\n-  PostgreSQL 15+\n-  Python 3.10+\n\nDeveloper setup\n===============\n\n1. Clone:\n\n   -  ``git clone https://github.com/opendatacube/datacube-core.git``\n\n2. Create a Python environment for using the ODC.  We recommend `Mambaforge \u003chttps://mamba.readthedocs.io/en/latest/user_guide/mamba.html\u003e`__ as the\n   easiest way to handle Python dependencies.\n\n::\n\n   mamba env create -f conda-environment.yml\n   conda activate cubeenv\n\n3. Install a develop version of datacube-core.\n\n::\n\n   cd datacube-core\n   pip install --upgrade -e .  --group dev\n\n4. Install the `pre-commit \u003chttps://pre-commit.com\u003e`__ hooks to help follow ODC coding\n   conventions when committing with git.\n\n::\n\n   pre-commit install\n\n5. Run unit tests + PyLint\n\nInstall test dependencies using:\n\n   ``pip install --upgrade -e '.' --group dev``\n\nIf install for these fails, please lodge them as issues.\n\nRun unit tests with:\n\n   ``./check-code.sh``\n\n   (this script approximates what is run by GitHub Actions. You can\n   alternatively run ``pytest`` yourself).\n\n6. **(or)** Run all tests, including integration tests.\n\n   ``./check-code.sh integration_tests``\n\n   -  Assumes the existence of two password-less Postgres databases running on localhost called\n      ``pgintegration`` and ``pgisintegration``.\n\n   -  Otherwise copy ``integration_tests/integration.conf`` to\n      ``~/.datacube_integration.conf`` and edit to customise.\n\n   - For instructions on setting up a password-less Postgres database, see\n      the `developer setup instructions \u003chttps://opendatacube.readthedocs.io/en/latest/installation/setup/ubuntu.html#postgres-testing-database-configuration\u003e`__.\n\n\nAlternatively one can use the ``opendatacube/datacube-tests`` docker image to run\ntests. This docker includes database server pre-configured for running\nintegration tests. Add ``--with-docker`` command line option as a first argument\nto ``./check-code.sh`` script.\n\n::\n\n   ./check-code.sh --with-docker integration_tests\n\n\nTo run individual tests in a docker container\n\n::\n\n    docker build --tag=opendatacube/datacube-tests-local --no-cache --progress plain -f docker/Dockerfile .\n\n    docker run -ti -v $(pwd):/code opendatacube/datacube-tests-local:latest pytest integration_tests/test_filename.py::test_function_name\n\n\nDeveloper setup on Ubuntu\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nBuilding a Python virtual environment on Ubuntu suitable for development work.\n\nInstall dependencies:\n\n::\n\n    sudo apt-get update\n    sudo apt-get install -y \\\n        autoconf automake build-essential make cmake \\\n        graphviz \\\n        python3-venv \\\n        python3-dev \\\n        libpq-dev \\\n        libyaml-dev \\\n        libnetcdf-dev \\\n        libudunits2-dev\n\n\nBuild the python virtual environment:\n\n::\n\n    pyenv=\"${HOME}/.envs/odc\"  # Change to suit your needs\n    mkdir -p \"${pyenv}\"\n    python3 -m venv \"${pyenv}\"\n    source \"${pyenv}/bin/activate\"\n    pip install -U pip wheel cython numpy\n    pip install -e '.' --group dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendatacube%2Fdatacube-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopendatacube%2Fdatacube-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendatacube%2Fdatacube-core/lists"}