Repository URL to install this package:
|
Version:
0.2.1 ▾
|
saildrone-push
/
METADATA
|
|---|
Metadata-Version: 2.1
Name: saildrone-push
Version: 0.2.1
Summary: This software pushes position updates from maps.geomar.de/geoserver to the Saildrone API
Home-page: UNKNOWN
Author: Patrick Leibold and contributers, GEOMAR Helmholtz Centre for Ocean Research Kiel
License: NOT FOR PUBLIC USE
Requires-Dist: iso8601
Requires-Dist: requests
Requires-Dist: geojson
do not distribute w/o prior consent of author(s)
Description: # Saildrone API push connector
This software pushes position updates from maps.geomar.de/geoserver to the Saildrone API
## Installation
### from source code
- clone this repository
- install requirements and run in spin mode
- OR 'pip install ./saildrone_push'
### from build
``pip install --index-url https://pypi.fury.io/cfgmr/ saildrone-push`
## Configuration
1. **set environment variables** (syntax `export VARIABLE=VALUE`on mac+linux)
- `SAILDRONE_API_TOKEN`, mandatory, secret API token for access to saildrone API
- `SAILDRONE_PLATFORMS_LIST_FILE`, optional, absolute path of
json file containing platform data
- `SAILDRONE_PUSH_CFG_FILE`, optional, absolute path of config file
2. **enable/ disable platforms** edit platforms json file to
enable/ disable specific platforms
## Running
- call `saildrone_push` to **push all known platforms to saildrone once**
(requires installation using `pip`)
- call `python __main__.py`to start spinning (running in the background)
Platform: UNKNOWN
Requires-Python: >= 3.6