Output
Meteole provides forecasts in pandas.DataFrame, a convenient standard format for integration into your modeling pipelines.
Processing Indicator Names in Output DataFrame
Indicator names are reprocessed by Meteole for the following reasons:
- Handling unknown column names:
Sometimes the column name is "unknown", in which case meteole generates a name by taking the first letters of the indicator name.
- Concatenation of height or pressure values:
To simplify output (mainly for retrieving multiple indicators), if the data includes height or pressure values, these are concatenated into the indicator name and the column is deleted. In this case, height (in meters) or pressure (in hPa) values are added to the base name.
For further details, please refer to the function :
(Protected) Return the forecast's data for a given time and indicator.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
coverage_id
|
str
|
the indicator. |
required |
height
|
int
|
height in meters |
required |
pressure
|
int
|
pressure in hPa |
required |
forecast_horizon
|
timedelta
|
the forecast horizon (how much time ahead?) |
required |
lat
|
tuple
|
minimum and maximum latitude |
required |
long
|
tuple
|
minimum and maximum longitude |
required |
temp_dir
|
str | None
|
Directory to store the temporary file. Defaults to None. |
None
|
Returns:
Type | Description |
---|---|
DataFrame
|
pd.DataFrame: The forecast for the specified time. |