Sign inSign up

astrodigital/sat-api-updater

By astrodigital

•Updated over 9 years ago

Updates AstroDigital's sat-api Elastic Search instance

Image
0

5.2K

astrodigital/sat-api-updater repository overview

⁠sat-api-updater

Build Status

A worker for iron.io that updates an Elastic Search instance associated with a sat-api. It uses sentinel2-metadata⁠ and landsat8-metadata⁠ to update the elasticsearch.

⁠Deployment

Master branch is automatically deployed to iron.io.

A docker image⁠ for the worker is also automatically build on docker hub

⁠payload

{
  "sat": "sentinel2",
  "args": "es --verbose --es-host example.com --es-port 80 --concurrency 1",
  "aws-secret-key": "awssecret",
  "aws-access-id": "awsid"
}

⁠Local tests

Write the json file to payload.json, then:

$ docker pull astrodigital/sat-api-updater
$ docker run --rm -v "$(pwd)":/updater -it -w /updater astrodigital/sat-api-updater python main.py -payload payload.json

Tag summary

Content type

Image

Digest

Size

284.1 MB

Last updated

over 10 years ago

docker pull astrodigital/sat-api-updater