kalisio / k-teleray

A Krawler based service to download data from the French gamma dose rate alert network TELERAY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k-teleray

Latest Release CI Code Climate Test Coverage License: MIT

A Krawler based service to download data from the French gamma dose rate alert Teleray network.

Description

The k-teleray job allow to scrape gamma dose rate measurements from the following url: http://teleray.irsn.fr//TelerayService/service/measure`. The downloaded data are stored within a MongoDB database and more precisely in 2 collections:

  • the teleray-measurements collection stores the measurement data
  • the teleray-sensors collection stores the sensor positions

All records are stored in GeoJson format.

The job is executed according a specific cron expression. By default, every 10 minutes.

Configuration

Variable Description
DB_URL The mongoDB database URL. The default value is mongodb://127.0.0.1:27017/teleray
TTL The observations data time to live. It must be expressed in seconds and the default value is 604 800 (7 days)
DEBUG Enables debug output. Set it to krawler* to enable full output. By default it is undefined.

Deployment

We personally use Kargo to deploy the service.

Contributing

Please refer to contribution section for more details.

Authors

This project is sponsored by

Kalisio

License

This project is licensed under the MIT License - see the license file for details

About

A Krawler based service to download data from the French gamma dose rate alert network TELERAY

License:MIT License


Languages

Language:JavaScript 63.4%Language:Shell 36.6%