spatial plot of overland flow

35 views
Skip to first unread message

sreed...@gmail.com

unread,
Mar 25, 2021, 4:11:40 AM3/25/21
to Shetran
Hi,
I am currently trying to prepare a spatial plot of overland flow from SHETRAN within my studied river basin. The model  was run on a daily scale for the historic period (years:1980 to 2005). The code to prepare spatial plot of overland flow is prepared in MATLAB. It gives a negative overland flow value at many cells.
My doubt is how to deal with overland flow from each of the 4 faces in a grid cell.
I have attached the matlab code with this .
It would be of great help if anyone could assist me in this regard.

overlandflowspatialplot.txt

Steve Birkinshaw

unread,
Mar 25, 2021, 5:30:47 AM3/25/21
to Shetran
Hi,
'
Thanks for your question. I have had a quick look at your code. I think the issue is that when you look at the flows from ther faces, ones that are in the east and north direction are positive and the west and south direction negative. The easiest way to work out the flow from a grid square is to take the highest absolute value. The better way would be to work out which flows are leaving a grid square and then work out total flow out  = sqrt (x^2 + y^2) if the flow out was in two directions. You could potentially also work have arrows with magnitude of the flow and the direction, if you want a really nice plot.

The face numbers are east (face 1), north (face 2), west (face 3) and south (face 4).

Best wishes,
Steve
Reply all
Reply to author
Forward
0 new messages