[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #OGU-976090]: Using GDSTAT to average grids for multiple dates/times
- Subject: [GEMPAK #OGU-976090]: Using GDSTAT to average grids for multiple dates/times
- Date: Thu, 08 Nov 2012 10:50:03 -0700
Hi Andrew,
it's the GDATTIM string that is limited to something like 84 or 128 characters,
I can't recall.
The solution I'm thinking of right now, which is probably not the only one, is
to run gddiag and/or gdmod to re-define the dates/times of the grids, collected
into a single grid file.
I'm on leave until November 19 but if I get a chance I'll look at this some
more. As it stands, GEMPAK can't deal with definitions longer than the maximum
string length.
Michael
> Hello,
>
> I'm looking to compute some standard statistics using GDSTAT using data
> from a total of 35 dates/times. I'm running into an issue where GDSTAT will
> only read 8 dates and times before GDSTAT throws a message saying that the
> input string is truncated.
>
> Sample of GDSTAT output is below:
>
> GEMPAK-GDSTAT>l
> GDFILE = comp_ne_before.grd
> GDOUTF = c.gem
> GDATTIM =
> 020323/2100F000;030113/1500F000;030209/2100F0000;040315/0600F000;040323/2100F000;041203/2100F000;041217/1200F000;050111/0000F00
> GLEVEL = 0
> GVCORD = none
> GFUNC = cape
> GRDNAM = CAPE
>
> GEMPAK-GDSTAT>r
> WARNING: ST_NULL - Output string too small; input string truncated!
> GDSTAT PARAMETERS
>
> Found 8 grids from 8 selected times.
> Times: 020323/2100F000 -050111/0000F000
> Maximum grid name: MAXCAPE
> Minimum grid name: MINCAPE
> Average grid name: AVECAPE
> Standard deviation grid name: SDVCAPE
> Count grid name: CNTCAPE
>
> I've also tried GDATTIM=ALL and GDATTIM=list, which raises and error
> message saying the TIME is invalid.
>
> Is there any way to specify more than 8 specific case dates/times into
> GDATTIM so it computes an average from all 35 cases, or is there another
> workaround that I am missing?
>
> Thank you so much for your help!
>
> Sincerely,
> Andrew Loconto
> Meteorologist, NWS WFO Burlington, VT
>
> --
> Andrew Loconto
> Meteorologist
> DOC/NOAA/NWS Burlington VT
>
>
Ticket Details
===================
Ticket ID: OGU-976090
Department: Support GEMPAK
Priority: Normal
Status: Open