A Krawler based service to download data from the French gamma dose rate alert Teleray network.
The k-teleray job allow to scrape gamma dose rate measurements from the following url: https://api.teleray.asnr.fr/wfs/collections/measures/items. The downloaded data are stored within a MongoDB database and more precisely in 2 collections:
- the
teleray-measurescollection stores the measurement data - the
teleray-stationscollection stores the station positions
All records are stored in GeoJson format.
The job is executed according a specific cron expression. By default, every 10 minutes.
| Variable | Description |
|---|---|
DB_URL |
The mongoDB database URL. The default value is mongodb://127.0.0.1:27017/k-teleray |
STATIONS_COLLECTION |
The name of the MongoDB collection for stations positions. The default value is teleray-stations |
MEASURES_COLLECTION |
The name of the MongoDB collection for measures data. The default value is teleray-measures |
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. |
We personally use Kargo to deploy the service.
Please refer to contribution section for more details.
This project is sponsored by
This project is licensed under the MIT License - see the license file for details
