JagaBanjir

How it works

Malaysia measures its rivers every 15 minutes. The trouble is getting that number, in plain words, to the person who can act on it — often a son or daughter living somewhere else.

Every 15 minutes

  1. Read. JagaBanjir downloads the live JPS Public InfoBanjir feed: about 1,300 water-level gauges.
  2. Check each gauge. A reading is trusted only if it is less than 6 hours old, is not marked faulty, is not exactly 0 m, is not more than 5 m below its alert level, did not jump 2 m in one reading, and does not have its alert levels recorded as 0 m (17 gauges in Sabah do, so the JPS map shows them at danger all the time).
  3. Decide for each house. The house takes the highest level among its trusted gauges, using the alert, warning and danger levels JPS publishes. If no gauge can be trusted, it says “can't tell”. It never says “normal” on bad data.
  4. Write the message. Fixed, reviewed templates in Malay, Chinese, Tamil and English, with three things to do at each level. No AI writes the text.
  5. Check the message. Every number in it must match the JPS reading. If one does not, the message is not sent.
  6. Send only what is news. A rise is sent at once, unless that level was already sent in the last 12 hours. Going down, only the all-clear is sent, after an hour of normal readings. At tidal river mouths, alert and warning at normal high-tide height are routine. Danger is always sent. On a week of JPS records this cut messages by 38%, and the typical gauge sent none.

What it is not

  • It is not an official warning. NADMA and MCMC send official alerts to phones inside the flood area. JagaBanjir is for the family member who is not there.
  • A gauge measures one river at one spot. Flash floods from drains and heavy local rain can happen while the nearest gauge stays normal.
  • The “time to danger” figure is a straight line through the last hour of readings. Tested on a week of JPS records, it was within 30% of the real time in 43.5% of cases, usually early. It is a rough guide, not a forecast.
  • About 430 gauges have no usable thresholds in JPS's tables or records. For those, JagaBanjir shows the label JPS itself gives the reading, and says so.
  • The Chinese and Tamil messages should be checked by more native speakers before wide use.

Your data

No account. A watch stores the house name you typed, a map point rounded to about 100 m, the gauges you picked, the language, and your Telegram chat number if you connect it. Anyone with the watch link can see that page, so share it only with family. “Stop watching” deletes it.

Sources