Skip to content
/ LOAF Public

LOAF (Local Observations and Atmospheric Forecasting) is an open source hyperlocal weather forecasting combining gridded forecasts with local station observations using machine learning and open-source hardware.

License

Notifications You must be signed in to change notification settings

PandoroML/LOAF

Repository files navigation

LOAF (Local Observations and Atmospheric Forecasting)

Open source hyperlocal weather forecasting combining machine learning forecast models with local station observations.

  • Do you want to improve the weather forecasts at a specific place?
  • Do you have access to local sensors or are intersted in building them?
  • Are you interested in understanding the full process and not relying on big tech companies hiding proprietary algorithms to do so?

If you answered yes to all of the above, then LOAF is for you.

Part of Pandoro — Bread Board Foundry's open science ML tools for climate and environmental research.

This is definitely a work in progress, so stay tuned!

Planned Architecture

┌─────────────────┐      ┌─────────────────────────────────────┐      ┌─────────────────┐
│  DIY Sensors    │ ──── │          Raspberry Pi               │ ──── │ Home Assistant  │
│  (Anemometer,   │      │  • Data storage                     │      │                 │
│   Temperature,  │      │  • ML forecast processing           │      │  Weather entity │
│   etc.)         │      │  • Local prediction generation      │      │  integrations   │
└─────────────────┘      └─────────────────────────────────────┘      └─────────────────┘

Data Flow:

  1. Sensors → Raspberry Pi: Local sensors connect to the Pi via a common sensors library, logging observations to local storage
  2. Forecast Processing: The Pi runs the trained ML model, combining local sensor data with regional forecasts (HRRR/GFS) to generate hyperlocal predictions
  3. Home Assistant Integration: Predictions are exposed as Home Assistant entities, allowing integration with automations, dashboards, and alerts

Latest Cool Picture

The first of the ultrasonic transducers have arrived!

IMG_9646

Current priorities:

  • Build DIY ultrasonic anemometer (inspired by QingStation and DL1GLH)
  • Deploy initial wind sensor in Seattle area
  • Set up HRRR/MADIS data pipeline
  • Train regional model and validate against local observations
  • Deploy the model to local hardware (raspberry pi)
  • Create Home Assistant widget for local wind predictions

Why LOAF?

Standard weather forecasts operate on 3km grids. That resolution can't capture the wind patterns at your specific site—whether it's a backyard wind turbine, a fire-prone hillside, or a remote research station.

Recent ML research shows that fusing gridded forecasts with local sensor data via transformers can reduce prediction error by up to 80%. Commercial services like Tomorrow.io offer this, but they're proprietary and subscription-based. The academic code exists, but there's no easy way to go from "I have a Raspberry Pi" to "I have an improved local forecast."

LOAF bridges that gap: open source hardware, open source models, no vendor lock-in. Build a sensor, train a model for your region, run inference locally.

About

LOAF generates hyperlocal weather forecasts for locations without nearby weather stations by combining:

  • Regional forecast models (NOAA GFS, HRRR, ERA5)
  • Sparse local weather station observations
  • Multi-modal transformer architecture for spatial-temporal fusion

Built on research from MIT Earth Intelligence Lab:

Hardware

LOAF uses open source hardware with no vendor lock-in:

  • Sensor: DIY ultrasonic anemometer
  • Logger: Raspberry Pi with RS-485/SDI-12 interface and 3D printed enclosure for predictions
  • Power: Solar panel + battery for remote deployment

Use Cases

  • Off-grid environmental monitoring sites
  • Research locations without dedicated weather infrastructure
  • Applications requiring forecast transparency and hardware specifications for reproducibility

Features

  • Corrects systematic biases in large-scale forecast models for local conditions
  • Hardware-transparent infrastructure for reproducible research
  • Clear documentation for researchers without ML engineering backgrounds
  • Combines numerical weather predictions with station measurements

Related Projects

Documentation

See the full documentation here: https://pandoroml.github.io/LOAF/

Development Plans

License

MIT

Citation

If you find this project useful for your research or applications, please kindly cite using this BibTeX::

@software{Johnson_LOAF_Local_Observations_2026,
author = {Johnson, Keenan and Kim, Susie},
month = jan,
title = {{LOAF (Local Observations and Atmospheric Forecasting)}},
url = {https://github.com/PandoroML/LOAF},
year = {2026}
}

Contact


Built by Bread Board Foundry

Cool Picture Archive

The first pcb went to fab for our ultrasonic anemometer build inspired by QingStation. The first version is very similiar to the Ultrasonic Anemometer in QingStation, but it simplified by removing parts we don't need for now and updated to included parts that are easily purchaseable, as some parts in Qing have gone end of life.

a6b5123db6724e5dabc65f7b7b04693a_T

About

LOAF (Local Observations and Atmospheric Forecasting) is an open source hyperlocal weather forecasting combining gridded forecasts with local station observations using machine learning and open-source hardware.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages