{"id":16284426,"url":"https://github.com/nuest/openeo_hackathon","last_synced_at":"2025-04-09T00:05:06.493Z","repository":{"id":146971502,"uuid":"88601385","full_name":"nuest/openeo_hackathon","owner":"nuest","description":"JavaScript prototoype for a simple raster band additon using a SciDB backend","archived":false,"fork":false,"pushed_at":"2017-04-18T09:20:36.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T18:48:58.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://r-spatial.org/2016/11/29/openeo.html","language":"JavaScript","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/nuest.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2017-04-18T08:32:33.000Z","updated_at":"2017-04-24T13:31:46.000Z","dependencies_parsed_at":"2024-04-14T17:48:06.669Z","dependency_job_id":null,"html_url":"https://github.com/nuest/openeo_hackathon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Fopeneo_hackathon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Fopeneo_hackathon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Fopeneo_hackathon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Fopeneo_hackathon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuest","download_url":"https://codeload.github.com/nuest/openeo_hackathon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947859,"owners_count":21023066,"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-10-10T19:19:31.280Z","updated_at":"2025-04-09T00:05:06.401Z","avatar_url":"https://github.com/nuest.png","language":"JavaScript","readme":"# OpenEO SciDB Backend\n\nSimple demonstrative webservice for adding two bands of [Sentinel-2 data](https://sentinel.esa.int/web/sentinel/missions/sentinel-2) using [SciDB EO](https://github.com/appelmar/scidb-eo/).\n\n## Approach\n\nThe only implemented process was tested with one Sentinel-2 scene that was loaded into SciDB using [scidb4gdal](https://github.com/appelmar/scidb4gdal) and must be available under the name `S2A_1`.\n\nThe process is executed on SciDB using [shim](https://github.com/Paradigm4/shim) with digest authentication.\n\nThe resulting array is downloaded via GDAL using scidb4gdal.\n\n## Try it out\n\nThis service requires a running instance of SciDB \n\nFirst, load a test image into SciDB and install scidb4gdal on your machine, see `test/install_gdal.sh`.\nThen configure your SciDB user in a file `config.js` (see `config-sample.js`).\n\nNow run the service:\n\n```bash\nnpm install\nnpm start\n```\n\nAlternatively, you can build an run the service using Docker:\n\n```bash\ndocker build -t openeo-scidb .\ndocker run -it -p 3000:3000 openeo-scidb\n```\n\nThen, run the tests agains the services\n\n```bash\ncurl http://localhost:3000/status\n\nnpm test\n```\n\nThe basic requests of the API are\n\n- `GET http://127.0.0.1:3000/data` [not implemented yet!]: Returns a list of the available datasets\n- `GET http://127.0.0.1:3000/data/S2A_1/red` [not implemented yet!]: Get red band of the product.\n- `GET http://127.0.0.1:3000/process`: Returns a list of available processes\n\nTo execution an addition of two bands, use \n\n```\nPOST http://127.0.0.1:3000/process/addition/\nContent-Type: application/json\n\n{\n    \"band1\": \"/data/S2A_1/red\",\n    \"band2\":\"/data/S2A_1/green\",\n    \"output\": \"/data/user/foo\"\n}\n```\n\nThe result is a georeferenced GeoTIFF.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuest%2Fopeneo_hackathon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuest%2Fopeneo_hackathon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuest%2Fopeneo_hackathon/lists"}