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

20030109: gprcm parameter rcmfil being truncated

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20030109: gprcm parameter rcmfil being truncated
  • Date: Thu, 09 Jan 2003 11:27:30 -0700

>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