{"id":24493258,"url":"https://github.com/sentinel-hub/odc-sh","last_synced_at":"2025-04-14T01:40:46.631Z","repository":{"id":85077716,"uuid":"550200625","full_name":"sentinel-hub/odc-sh","owner":"sentinel-hub","description":"Sentinel plugin for Open data cube https://www.opendatacube.org/","archived":false,"fork":false,"pushed_at":"2024-05-31T18:26:37.000Z","size":1677,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T15:52:15.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/sentinel-hub.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":"2022-10-12T11:13:01.000Z","updated_at":"2024-05-31T18:26:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b00c88f-2e5d-4f7f-a46a-503f4389577f","html_url":"https://github.com/sentinel-hub/odc-sh","commit_stats":{"total_commits":54,"total_committers":6,"mean_commits":9.0,"dds":"0.33333333333333337","last_synced_commit":"e85e9caf40f1b9d62adedeb5a51348c7d08928a3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentinel-hub%2Fodc-sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentinel-hub%2Fodc-sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentinel-hub%2Fodc-sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentinel-hub%2Fodc-sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentinel-hub","download_url":"https://codeload.github.com/sentinel-hub/odc-sh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809039,"owners_count":21164893,"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":"2025-01-21T19:19:43.446Z","updated_at":"2025-04-14T01:40:46.612Z","avatar_url":"https://github.com/sentinel-hub.png","language":"Jupyter Notebook","funding_links":[],"categories":["Open Data Cube"],"sub_categories":["Testing your code"],"readme":"# ODC-Sentinel Hub\n\n## Getting started\n\ninstall the ODC datacube core library https://github.com/opendatacube/datacube-core. \n\n`odc-sh` needs to be installed in the Notebook to run. Use pip install:\n\n```pip install git+https://github.com/sentinel-hub/odc-sh.git```\n\nSet the sentinel hub credential available here https://apps.sentinel-hub.com/dashboard/.\n\nTry to run the test examples. To produce the datacube call \n\n```\nresolution = 20  # in meters\nlongitude = (11.987527, 12.004914)\nlatitude = (41.990797, 42.018348)\n\ntime = (\"2019-01-01\", \"2019-01-04\")\n\nds = dc.load(\n    product=DataCollection.SENTINEL2_L1C,\n    latitude=latitude,\n    longitude=longitude,\n    time=time,\n    sh_resolution=resolution,\n)\n\n```\n\nThe code will produce a xArray datacube with the following dimensions [\"time\", \"lon\", \"lat\", \"bands\"]. If only one band is selected under the  measurements, the bands dimension will be ommited. Thus the produced datacube will have dimensions [\"time\", \"lon\", \"lat\"]. You can ommit the measurements information in which case alll the bands will be loaded. \n\n## Parameters: \n\nTo define the product id and available bands check the following configurations https://docs.sentinel-hub.com/api/latest/data/ or in the DataCollection class of the sentinelhub-py https://github.com/sentinel-hub/sentinelhub-py/blob/master/sentinelhub/data_collections.py.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentinel-hub%2Fodc-sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentinel-hub%2Fodc-sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentinel-hub%2Fodc-sh/lists"}