[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 970721: netCDF3.3.1
- Subject: Re: 970721: netCDF3.3.1
- Date: Tue, 22 Jul 1997 15:21:02 -0600
>To: address@hidden
>From: "David Aubert (stagiaire ESSI" <address@hidden>
>Subject: netCDF3.3.1
>Organization: .
>Keywords: 199707211350.HAA05002
David,
> The problem is always here(and it's a big one :594 Mb :) )
>
> iapetus:~netcdf-3.3.1/src/ncdump> ls -l
> total 581277
> -rw-r--r-- 1 daubert 1251 May 15 22:34 Makefile
> -rw-r--r-- 1 daubert 292 May 2 1996 depend
> -rw-r--r-- 1 daubert 4897 Oct 28 1996 dumplib.c
> -rw-r--r-- 1 daubert 2107 Oct 28 1996 dumplib.h
> -rw-r--r-- 1 daubert 8808 Jul 22 09:45 dumplib.o
> -rwxr-xr-x 1 daubert 630784 Jul 22 09:54 ncdump
> -rw-r--r-- 1 daubert 8305 Oct 8 1996 ncdump.1
> -rw-r--r-- 1 daubert 18169 May 19 22:49 ncdump.c
> -rw-r--r-- 1 daubert 2290 Jan 18 1997 ncdump.h
> -rw-r--r-- 1 daubert 30224 Jul 22 09:45 ncdump.o
> -rw-r--r-- 1 daubert 896 Oct 8 1996 test0.cdl
> -rw-r--r-- 1 daubert 594146256 Jul 22 10:05 test0.nc
> -rw-r--r-- 1 daubert 22898 May 16 18:43 vardata.c
> -rw-r--r-- 1 daubert 946 Oct 28 1996 vardata.h
> -rw-r--r-- 1 daubert 28136 Jul 22 09:45 vardata.o
>
> I sent too the header of the file testO.nc:
>
> iapetus:~netcdf-3.3.1/src/ncdump> more test0.nc
> CDF
> iYyjYklY^LglobGlobal attribute
> broiled^Laccaacttext string
> 123acb
> acsaclZ>acf?acd@
> WjD
> the_bullet*&Dporder<TMlriguex@e`a_loanxentendreQ7(cscalar
> dscalacnodataY|bnodataY|.xsnodata
> dnodata*#ieMxjfc8\lYx`
>
>
> After there is only invisible char.
>
> And now variables I put:
>
> CPPFLAGS=-DNDEBUG
> CC=gcc
> CFLAGS=-g
> FC=
> FFLAGS=
> CXX=
> LIBS='-L/usr/lang/SC2.0.1 -lansi'
I've just tried building on a SunOS 4.1.4 with exactly the environment
variables you have specified, except we only have a later version of the
compilers, so I set
LIBS='-L/usr/lang/SC3.0.1/lib -lansi'
Also, our version of gcc is 2.7.2. With this, I was able to duplicate
the problem. ncgen appears to be getting huge values for the small
dimensions in the test file, and the problem can be demonstrated with a
tiny CDL file with only one dimension and one variable.
I'll be trying to isolate it and provide a fix.
You are the first to report this. Thanks for being persistent!
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu