gint

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Thu Sep 6 08:29:43 EDT 2007


general integral does not perform a sum: it is an integral

try for example to ingrate on latitude: you will obtain
integral(your_variable*dy), that is: sum(your_variable) * 111178

I hope this helps ...
bye bye
Davide

On Wed, 2007-09-05 at 10:53 -0400, Semyon Grodsky wrote:
> Folks,
> my vertical coordinates are
> z   lev
> 1    0
> 2    10
> 3    20
> 4    30
> and so on
>
> I cann't understand why
>
> d gint(1,z=1,z=2)
> Integrating.  dim = 2, start = 1, end = 2
> Result value = 20
> ga-> d gint(1,lev=0,lev=10)
> Integrating.  dim = 2, start = 1, end = 2
> Result value = 20
>
> I would expect result value = 10
> --Senya
>
> -----------------------------------------------------------
> Semyon Grodsky
> Computer and Space Science Building (Bldg. #224), Room 2409
> Department of Atmospheric and Oceanic Science
> University of Maryland
> College Park, MD 20742
>
> Phone:  301-405-5330
> Fax:    301-314-9482
> E-mail: senya at atmos.umd.edu
>
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list