Forecast data loaders

Forecast model plugins are modules that need to be either integrated in a monolithic Weacast application or deployed as independent micro-service like applications to be interconnected, see the architecture section.

Because the most consuming part of a Weacast application is usually the gathering and processing of forecast model data, the weacast-loader module provides you with a set of download services available as Docker containers out-of-the-box. These services perform the same data processing workflow than the ARPEGE, AROME and GFS plugins, based on Krawler. This means that your Weacast application doesn't need to integrate these plugins anymore, the running download services will feed the database as usual in the background.

First you need to build the Docker containers containing the different configurations of your ARPEGE, AROME and GFS services:

# Manually
docker build -t weacast/weacast-arpege-world -f dockerfile.arpege-world .
docker build -t weacast/weacast-gfs-world -f dockerfile.gfs-world .
...
# Using Docker compose file
docker-compose build weacast-arpege-world weacast-gfs-world ...

Then you have to run it on your infrastructure:

# Stop/remove previous instances if any
docker-compose stop weacast-arpege-world weacast-gfs-world ...
docker-compose rm weacast-arpege-world weacast-gfs-world ...
# Launch new ones
docker-compose up -d weacast-arpege-world weacast-gfs-world ...

The actual download services are built from generic Docker images containing required dependencies and functions used to generate a Krawler download job tailored to your forecast model and elements: weacast-gfs and weacast-arpege.

results matching ""

    No results matching ""