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

Re: 960214: NETCDF bug

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: Re: 960214: NETCDF bug
  • Date: Wed, 14 Feb 1996 16:02:42 -0700

>To:       address@hidden
>From: Harry Edmon <address@hidden>
>Organization: University of Washington
>Keywords: 199602142211.AA29015

Hi Harry,

> I have a netcdf file:
> ftp://ftp.atmos.washington.edu/pub/harry/ice_snap.cdf that gives the
> following error in ncdump on a DEC alpha running Digital Unix 3.2C:
> 
> 1 grayskies% ncdump ~harry/ice_snap.cdf 
> netcdf ice_snap {
> dimensions:
>         depth0 = 1 ;
  ...
>         double aice(time, depth0, slat, slon) ;
>                 aice:long_name = "Ice Compactness" ;
> *** ncdump: Out of memory!
>                 aice:units = 42 grayskies% 
> 
> It works properly on a Sun.  This is true of 2.3.2pl4 and 2.4beta6

This is evidently a problem with empty strings used for attributes such as

                aice:units = "" ;

that appears on alphas but not on other platforms.  I've reproduced the
problem, so I'll try to come up with a fix before the 2.4 release.  Thanks
for reporting the problem!

--Russ