Benchmarks
Query station benchmark metrics for model evaluation and comparison.
Query benchmark metrics (RMSE, MAE, bias, CRPS, quantiles) for forecast models evaluated against weather station observations.
CRPS (Continuous Ranked Probability Score) is derived from the per-ensemble-member forecast errors; for deterministic models it equals MAE.
For calibratable Jua ensemble models, CRPS reflects the delivered-product spread calibration by default. Set calibrate=false to evaluate the raw ensemble spread instead.
Metric selection: By default all metrics are computed and returned. Pass metrics (any of rmse, mae, bias, crps) to compute and return only those. Requesting only mean-based metrics (rmse/mae/bias) is significantly faster for ensemble models, since CRPS is the only metric that needs the per-ensemble-member distribution.
Useful for:
Comparing forecast model performance
Evaluating model accuracy by region
Analyzing forecast errors over time
Multi-Model Support:
Query multiple models in a single request to compare performance
Results include model name in each row for easy comparison
Geographic Filtering:
market_zone: Filter by energy market zone (e.g., "DE", "FR")country_key: Filter by country code (e.g., "DE", "US")
Note: Either station_ids or geo must be provided (mutually exclusive).
Authentication: Requires API key.
For more information on benchmark metrics, see docs.jua.ai.
Response format: 'json' for columnar JSON or 'arrow' for Apache Arrow IPC stream
jsonPossible values: When true, JSON responses are wrapped in {data, units}.
falseQuery parameters for station benchmark data.
List of specific station IDs to query. Mutually exclusive with geo filter.
Start of the benchmark period on forecast init time, inclusive: init_time >= start_time.
End of the benchmark period on forecast init time, inclusive: init_time <= end_time. Must be after start_time.
Maximum prediction lead time in minutes
28800If True, evaluate supported variables using Jua's bias-corrected forecast errors, keyed by model, valid-time ISO week, forecast-init hour and minute, and prediction lead. Supported variables are air temperature at 2 m, wind speed at 10 m, and surface solar radiation.
falseIf True, evaluate calibratable Jua ensemble models using the calibrated spread delivered in Jua's forecast product. Set to False to evaluate the raw ensemble spread. Incompatible with obs_buckets.
trueFilter to forecasts initialised at the given UTC hours. Each value must be in 0..23 (e.g. [0, 12] keeps only 00Z and 12Z runs). None or empty list = all hours (no filtering).
If True, additionally stratify RMSE / MAE / bias by the observed value's distribution. Each metric is reported per observed-value bucket: < P5, P5-P25, P25-P75, P75-P95, > P95 (plus an 'all' bucket). The P5/P25/P75/P95 thresholds are computed once over the selected stations and time window so the buckets are identical across models and lead times. This option is heavier than the default aggregation and requires exactly one variable.
falseSuccessfully retrieved benchmark metrics
Invalid query parameters
Authentication required
Insufficient permissions
Validation Error
POST /v1/station-benchmarks/metrics HTTP/1.1
Host: query.jua.ai
Content-Type: application/json
Accept: */*
Content-Length: 182
{
"models": [
"ept2"
],
"geo": {
"type": "market_zone",
"value": "DE"
},
"start_time": "2024-10-01T00:00:00Z",
"end_time": "2024-10-07T00:00:00Z",
"variables": [
"air_temperature_at_height_level_2m"
]
}{
"model": [
"ept2",
"ept2",
"ept2",
"ept2"
],
"prediction_timedelta": [
60,
60,
60,
60
],
"variable": [
"air_temperature_at_height_level_2m",
"air_temperature_at_height_level_2m",
"air_temperature_at_height_level_2m",
"air_temperature_at_height_level_2m"
],
"metric": [
"rmse",
"mae",
"bias",
"crps"
],
"avg": [
1.23,
0.98,
-0.12,
0.91
]
}Retrieve available dates for station benchmark data with optional filtering.
Useful for:
Discovering available benchmark data
Finding recent benchmark dates
Planning benchmark queries
Authentication: Requires API key.
For more information, see docs.jua.ai.
Optional model name to filter by
Number of days to look back from today
365Successfully retrieved available dates
Response containing available benchmark dates.
Authentication required
Insufficient permissions
Validation Error
Internal server error
GET /v1/station-benchmarks/available-dates HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"dates": [
"2024-10-15",
"2024-10-14",
"2024-10-13"
]
}List the country and market-zone codes that have at least one audited solar radiation station.
The surface-solar-radiation benchmark is scored only over stations that passed the offline radiation quality audit (a much smaller set than the synoptic network). This endpoint returns the regions where a solar country / market-zone benchmark can actually be computed, so the dashboard can restrict the solar-benchmark region pickers to non-empty selections.
Authentication: Requires API key.
Successfully retrieved solar coverage
Country / market-zone codes covered by the clean solar-station set.
Authentication required
Insufficient permissions
Validation Error
GET /v1/station-benchmarks/solar-coverage HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"country_keys": [
"DE",
"FR",
"ES"
],
"market_zones": [
"DE",
"FR",
"ES"
]
}Last updated