Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Measure flooded area

Measure flooded area 11 years 2 months ago #10154

  • sebourban
  • sebourban's Avatar
  • NOW ONLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

if-then as such does not exist but you do it using > or <, as follows:

a<b will return a where a<b is True and b where a<b is False
a>b will return a where a>b is True and b where a>b is False

It also works with numbers such as a>0 will return a if a>0) or 0 (if a<0)

Hope this helps,
Sébastien.
The administrator has disabled public write access.

Measure flooded area 11 years 2 months ago #10155

  • simon.nolin
  • simon.nolin's Avatar
Hi,
To measure flooded area in BK, I used (a>b)/a, where a = water depth and b is zero. I then calculate the volume and read the positive volume.
Simon
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.