What are delta layers?
Delta layers highlight how a weather forecast has changed between two model runs. They build on the samewl:* weather layers but use special variable names to describe the comparison you want to visualize.
Use delta layers when you need to:
- Track how the latest forecast differs from the previous run
- Compare the current run against yesterday’s day-ahead forecast
- Spot sudden changes in temperature, wind speed, or other weather variables
Variable naming convention
Delta layers rely on thevariable field to describe the comparison target:
| Delta type | Variable format example | Meaning |
|---|---|---|
| Standard | WindSpeed | Raw forecast value (not a delta) |
| Previous run | DeltaPrevRun:WindSpeed | Difference between current run and previous run |
| Day-ahead run | DeltaDayAhead:WindSpeed | Difference between current run and day-ahead run |
⚠️ The part after the colon must be a valid base variable name (WindSpeed,Temperature, etc.).
Creating a delta layer
Delta layers use the same SDK call as regular weather layers. Simply change thevariable value to one of the delta formats.
Supported layer types
Delta variables use thewl:RasterLayer, regardless of which weather variable is used for the comparison.
Best practices
- Pick the right comparison: Use
DeltaPrevRunfor short-term monitoring andDeltaDayAheadfor day-ahead bidding or re-forecast analysis. - Label clearly: Include the delta type in the layer
nameto clarify the context when many different layers are used. - Combine with base layers: Pair delta layers with the original forecast layer to provide full context, for example with two map components side by side.