computing rx0

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
redhat007

computing rx0

#1 Unread post by redhat007 »

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

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: computing rx0

#2 Unread post by kate »

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.

redhat007

Re: computing rx0

#3 Unread post by redhat007 »

please tell me that rx0 should compute just for sea's cells (mask=1) or for both land and sea's cells?

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: computing rx0

#4 Unread post by kate »

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.

Post Reply