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

20030109: gprcm parameter rcmfil being truncated



>From: Robert Mullenax <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200301091705.h09H5Lt13907

>
>There is a bug in gprcm so that rcmfil will only recognize 18 characters
>for a path/file name.  e.g...rcmfil=$GEMDATA/rcm/2003010715_rcm.dat
>results in this error:
>
>error opening $GEMDATA/rcm/20030
>
>This happens on the GEMPAK5.6h Solaris SPARC binary and on
>Linux built from the code.
>
>Thanks,
>Robert Mullenax
>
>Robert Mullenax
>Weather Systems Administrator
>Universal Weather and Aviation
>


Robert,

In $NAWIPS/unidata/programs/gprcm/rcm.h, I defined MAXTMPL as 20
(in modifying the program to use templates, eg RCMDAT). This is too small
when you aren't using file name templates. Change this to 132 and
recompile your Linux source. I'll make this change for the binaries
being posted for the I distribution.

Steve Chiswell