Repository navigation
feat: Add an interactive Zarr weather forecast example for Europe - #23
Conversation
| @@ -0,0 +1,119 @@ | |||
| import * as zarr from "zarrita"; | |||
|
|
|||
| export const STORE_URL = "https://s3.us-west-2.amazonaws.com/us-west-2.opendata.source.coop/dynamical/ecmwf-ifs-ens-forecast-15-day-0-25-degree/v0.1.0.zarr"; | |||
There was a problem hiding this comment.
@dzole0311 I think I'd like to see if each of these costants can come from the Python side, potentially to over-ride defaults.
This overall looks fantastic to me - I think I'd just like to show how someone in a python notebook can have more flexibility on the python side in defining what's being shown and how, etc.
Do you think it's feasible to do one pass and look for things that can / should be over-ridable, and define the interface to be able to do that on the Python side when instantiating the widget?
There was a problem hiding this comment.
Added some Python options (locations, map bounds, forecast length, starting day, color ranges and palettes + plus the zarr store url); the defaults will still work without any config. Also added some notes that other stores need to match this ECMWF dataset’s layout if they want to reuse the example.
|
Sorry for the large diff. Most of it comes from |
Closes: #22
Adds a map showing temperature forecasts across Europe for the next two weeks, using ECMWF ensemble data from dynamical.org.
The way this works is the browser (via deck.gl-raster, specifically the zarr module) reads the data directly from the Zarr store and loads / renders the streamed chunks. Users can then:
A few notes about the data loading and rendering:
I tested it across light and dark mode and mobile support + both fullscreen view and normal view.
Screen.Recording.2026-09-15.at.12.32.55.mov
Screen.Recording.2026-09-15.at.12.32.15.mov
Dark mode
Screen.Recording.2026-09-15.at.12.44.02.mov