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 10 months ago #10155
simon.nolin
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.
The registration and abstract submission for the 2025 TELEMAC User Conference is now live! Early Bird registration is £200 (about 237 Euro at time of writing). Abstract is 600 words. Deadline is EXTE [ ... ]