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

[netCDF #HKX-214469]: [netcdfgroup] Bug in ncdump -v

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: [netCDF #HKX-214469]: [netcdfgroup] Bug in ncdump -v
  • Date: Thu, 04 Jun 2009 14:41:10 -0600

Hi John,

> The fix works with some of our raw data files, but not with others where there
> is a problem with free() in dumplib.c:1553. I attach a problem file to help
> with testing.

I've finally gotten some time to work on this, and I haven't been able to
duplicate the free() problem you are seeing when I try any of the following:

  ncdump -v time1
  ncdump -v time1 xma022032.nc
  ncdump -v time2 xma022032.nc
  ncdump -v time1,time2,time3 xma022032.nc
  ncdump -v xma/obv01 xma022032.nc
  ncdump -v xma/obv02 xma022032.nc
  ncdump -v xma/obv01 xma022032.nc
  ncdump -v xma/obv02 xma022032.nc
  ncdump -v xma/obv01,xma/obv02 xma022032.nc
  ncdump -v time3,xma/obv01,xma/obv02 xma022032.nc
  ncdump -v xma/obv01,xma/ref/rog xma022032.nc
  ncdump -v /xma/obv01,/xma/ref/rog xma022032.nc
  ncdump -v /xma/obv01,/xma/ref/rog,/xma/rog/elm/ref xma022032.nc

Could you tell me what I should try to see the problem with free()?

--Russ


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



Ticket Details
===================
Ticket ID: HKX-214469
Department: Support netCDF
Priority: High
Status: Closed