1.7.0 • Published 2 years ago

weacast-loader v1.7.0

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

weacast-loader

Build Status Code Climate Test Coverage Dependency Status Documentation

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

Documentation

The Weacast docs are loaded with awesome stuff and tell you everything you need to know about using and configuring Weacast.

Debug

Here are some request examples if you'd like to test the underlying services manually.

GFS

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:

Météo France

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.

License

Copyright (c) 2017

Licensed under the MIT license.

1.7.0

2 years ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago