mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
The grid id and URL omitted the model, so two models sharing a cycle produced the same `/api/wind/grid/<id>.bin`. Because the grid route defaults to `gfs`, an IFS grid request resolved against the GFS cache: when both cycles matched it silently served the GFS field as IFS, and when they differed it 404'd and the client parsed the error body as float data. Include the model in both the id and the URL, and reject a resampled grid that contains non-finite values instead of caching it. Verified against live data: the IFS grid now decodes to 65,160 finite values (u -20.2..27.6 m/s) and renders a field distinct from GFS.