I am trying to change some cells's h values near the coast, manually. and then grid's depthmin will be replaced by minimum values of new h values, too. I want to know is there any routine to compute RX0 to control its value , before using new bathymetry in model's setup.
cheers
redhat
computing rx0
Re: computing rx0
I'm sure there are routines in many languages. Which would you like? It's a very simple function:
rx0 = max in domain ( abs(h(i,j) - h(neighbor of i,j))/(h(i,j) + h(neighbor of i,j)) )
You need to look at neighbors both in the i direction and j direction.
rx0 = max in domain ( abs(h(i,j) - h(neighbor of i,j))/(h(i,j) + h(neighbor of i,j)) )
You need to look at neighbors both in the i direction and j direction.
Re: computing rx0
please tell me that rx0 should compute just for sea's cells (mask=1) or for both land and sea's cells?
Re: computing rx0
Just sea cells. You can have a fjord with 200 m deep water next to land cells at hmin=5 m without having a large rx0.