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

Re: 970717: ncgen on cray



>To: address@hidden
>cc: address@hidden,
>cc: address@hidden
>From: John Caron <address@hidden>
>Subject: ncgen on cray
>Organization: UCAR 
>Keywords: 199707171600.KAA13098

Hi John,

> ncgen, version 2.43, on NCAR cray antero machine is dying on this line
> in my cdf file:
>    :_FillValue = -9999.99f;
> which works ok on (older) versions of ncgen on an SGI and AIX.
> have you seen this problem?
> 
> I also tried 
>    :_FillValue = -9999.99;
> but still died.
> 
> I dont see anything in 2.4 manual about this.
> 
> - ----------
> 
> 41-antero% ncgen -b gen_chem.cdf
> ncgen: gen_chem.cdf line 111: variable Operand range error (core dumped)
> 
> 42-antero% which ncgen
> /usr/local/bin/ncgen
> 
> 43-antero% ls -l /usr/local/bin/ncgen
> lrwxrwxrwx   1 root     bin           49 Dec 10  1996
> /usr/local/bin/ncgen ->
> /usr/local/apps/UNICOS-9.02/netcdf-2.43/bin/ncgen
> 
> 45-antero% ls -l /usr/local/apps/UNICOS-9.02/netcdf-2.43/bin/ncgen
> - -rwxrwxr-x   1 haley    root     1159928 Dec 10  1996
> /usr/local/apps/UNICOS-9.02/netcdf-2.43/bin/ncgen

Sorry, but I haven't seen this symptom before and can't duplicate the
error.  I assume this is an attribute for a "float" variable.  We've
just checked running "ncgen -b ff.cdl" where "ff.cdl" is the following
5-line CDL file:

netcdf ff {
variables:
        float ff ;
                ff:_FillValue = -9999.99f ;
}

and it works fine, for both the 2.43 version of ncgen in
/usr/local/bin/ncgen and the new 3.x version of ncgen you can find in
/home/antero/davis/netcdf/bin/ncgen.  Can you see if the problem still
occurs with the 3.x version of ncgen?  If so, in order to diagnose the
problem, can you provide a small example that fails?  Thanks!

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu