parseGlofasFloodEvents
Import from: @xbbg/xnews, @xbbg/xnews/parsers
parseGlofasFloodEvents(
body,basins?,forecastStartDate?):EventRecord[]
Defined in: src/sources/glofasflood.ts (declaration: sources/glofasflood.d.ts:29)
Parses either the batched array response or Open-Meteo's bare object for a single requested location. forecastStartDate makes the history/forecast boundary explicit; without it, the final 31 daily values are the forecast.
Parameters
body
string
basins?
readonly GlofasBasin[]
forecastStartDate?
string
