<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<p><font size="2">Hi, John.</font></p>
<p><font size="2">The problem here is that the hdivg function calculates the horizontal divergence in "central finite difference", so that it must indeed loss boundary informations. Remember that finite differences take data from neighboring points to calculates a value in the central point. As the grid boundaries don´t have neighboring points beyond the grid, grads uses "no data" values at the boundaries.</font></p>
<p><font size="2">Greetings,</font></p>
<p><font size="2">Ricardo </font></p>
<p><font size="2"><b>On Wed, 13 Jun 2007 22:15:12 -0600, John Guhin wrote</b>
<br />> Hi,
<br />> I am trying to compute horizontal divergence using the function hdivg(u,v). It seems like it cannot compute at the boundaries. In all other places it is working fine. How can I get rid off this problem?
<br />>
<br />> thanks in advance.
<br />>
<br />> --
<br />> John Guhin
<br />
<br />
<br />Hallak
<br />
<br />Laboratório de Hidrometeorologia (LABHIDRO)
<br />Departamento de Ciências Atmosféricas (DCA)
<br />Instituto de Astronomia, Geofísica e Ciências Atmosféricas (IAG)
<br />Universidade de São Paulo (USP)
<br />Rua do Matão, 1226 - Cidade Universitária -São Paulo SP -05508-900
<br />Fone.: +55 (0-XX-11) 3091-4735
<br />Fax: +55 (0-XX-11) 3091-4714
<br />
<br /></font></p>
</BODY>
</HTML>