How to
Ensure that you have correctly installed Meteole before, check the Installation page
Get a token, an API key or an application ID
- Create an account on the Météo-France API portal.
- Subscribe to the desired services (Arome, Arpege, etc.).
- Retrieve the API token (or key) by going to "Mes APIs" and then "Générer token".
💡
Using an APPLICATION_ID allows for token auto-refresh. It avoids re-generating a token or an API key when it is expired.
Find your APPLICATION_ID in your API dashboard > "Générer Token".
Then checkout the
curl
field at the bottom of the page that looks like that:
The string that comes rights after "Basic" is your APPLICATION_ID (
ktDvFBDP8w6jGfKuK4yB1nS6oLOK4bfoFwEqmANOIvNMF8vG6B51tgJeZQcOO1d3qYyK
in this example)
Get the latest vigilance bulletin
Meteo France offers a vigilance bulletin that provides nationwide predictions of potential weather risks.
For data usage, access the predicted phenomena to trigger modeling based on the forecasts.
More details about Vigilance Bulletin in the official Meteo France Documentation
Get data
Meteole allows you to retrieve forecasts for a wide range of weather indicators. Here's how to get started with AROME, AROME INSTANTANE, ARPEGE or PIAF:
Characteristics | AROME | ARPEGE | AROME INSTANTANE | PIAF |
---|---|---|---|---|
Resolution | 1.3 km | 10 km | 1.3 km | 1.3 km |
Update Frequency | Every 3 hours | Every 6 hours | Every 1 hour | Every 10 minutes |
Forecast Range | Every hour, up to 51 hours | Every hour, up to 114 hours | Every 15 minutes, up to 360 minutes | Every 5 minutes, up to 195 minutes |
note : the date of the run cannot be more than 4 days in the past. Consequently, change the date of the run in the example below.
The get_combined_coverage
method allows you to retrieve weather data for multiple indicators at the same time, streamlining the process of gathering forecasts for different parameters (e.g., temperature, wind speed, etc.). For detailed guidance on using this feature, refer to this tutorial.