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

20020905: question gdstat



>From: "J. Correia" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200209052145.g85LjYZ22491

>Is there any way within GEMPAK to change negative grid values and set them
>to zero? For example, I calculate a parameter over many times, and then
>run gdstat to compute the average. But I only want the average of all
>positive values. Can you think of any way, besides ouputting all the
>seperate grids, running a seperate program to change the values and then
>run gdstat?
>James Correia Jr
>
>

James,

You should be able to use the SGT(S1,S2) function to only consider values 
greater than S2=0.

Steve Chiswell