[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20051026: Gempak - Please help me to compute average in GDSTAT!!!



The program requires 4 or more grids as the error message states.
At any grid point, if there are fewer than 4 values, the STD calculation
will be set to missing.

If you have only three times, you can use GDDIAG and sum the three grids
and divide.
 GFUNC = quo(sum(s1,sum(s2,s3)),3)

Steve Chiswell
Unidata User Support


>From: "Anh Dao Nguyen" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200510260945.j9Q9jk3j000288

>Institution: NCHMF
>Package Version: GEMPAK5.7.4
>Operating System: Linux
>Hardware Information: 160GB hardware vollumn
>Inquiry: Hello,
>I am trying on computing the average of grids in three time steps but it seems
>  to be error. I don't know why? When I increase the time steps (5 time steps)
> , it's OK. The error is follow:
>
>GDFILE   Gridfile            BC3Ntd.grd
>GDOUTF   Output grid file    test.grd
>GDATTIM  Grid date/time      all
>GLEVEL   Grid level          500
>GVCORD   Grid vertical coordinate   PRES
>GFUNC    Scalar grid                HGHT
>GRDNAM   Grid parameter name        
>Parameters requested: GDFILE,GDOUTF,GDATTIM,GLEVEL,GVCORD,GFUNC,GRDNAM.
>GEMPAK-GDSTAT>r
>[GDSTAT -6] There are fewr than four grids
>Parameters requested: GDFILE,GDOUTF,GDATTIM,GLEVEL,GVCORD,GFUNC,GRDNAM.
>GEMPAK-GDSTAT>
>
>
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.