Krawler based services to download data from the global numerical weather prediction model ARPEGE (Action de Recherche Petite Echelle Grande Echelle) and the small scale numerical prediction model AROME operational at Météo-France and the global numerical weather prediction model GFS (Global Forecast System) produced by the National Centers for Environmental Prediction (NCEP).
These data are then served using the Weacast services API and visualized using the Weacast client.
To debug a loader you can run this command from a local krawler/MongoDB install node --inspect . --cron "0 15,45 * * * *" --run --sync "mongodb://127.0.0.1:27017/weacast" D:\Development\weacast\weacast-loader\jobfile-arpege-europe.js
To build a Docker image and test it locally:
// Base image with latest krawler
docker build --build-arg KRAWLER_TAG=latest -f dockerfile.arpege -t weacast/weacast-arpege:latest .
// Model-specific image
docker build --build-arg TAG=latest -f dockerfile.arpege-europe -t weacast/weacast-arpege:europe-latest .
// Define any required env vars
METEO_FRANCE_TOKEN=xxx
// Run with Mongo instance
docker-compose up -d mongodb-weacast weacast-arpege-europe
// Stop
docker-compose down -v
The Weacast docs are loaded with awesome stuff and tell you everything you need to know about using and configuring Weacast.
Here are some request examples if you'd like to test the underlying services manually.
The Grib Filter ease the generation of request URLs for GFS. For instance using the grib filter for GFS 0.5° you get this kind of URL:
Take care that you need to URL encode your token or remove the trailing
=
caracters
WCS GetCapabilities
operation:
Select a coverage, e.g. TEMPERATURE__SPECIFIC_HEIGHT_LEVEL_ABOVE_GROUND___2021-11-24T12.00.00Z
.
WCS DescribeCoverage
operation:
WCS GetCoverage
operation:
Web services previously supported HTTP GET with key/value pair (KVP) encoding but now use different endpoints for the different operations so that the
REQUEST
parameter might not be required anymore.
Copyright (c) 2017
Licensed under the MIT license.