Public | Automated Build

Last pushed: 3 months ago
Short Description
Updates AstroDigital's sat-api Elastic Search instance
Full Description

sat-api-updater

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
Docker Pull Command
Owner
astrodigital
Source Repository

Comments (0)