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

[netCDFPerl #IHB-309481]: sporadic errors reading MADIS maritime netCDF files

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: [netCDFPerl #IHB-309481]: sporadic errors reading MADIS maritime netCDF files
  • Date: Fri, 25 Jan 2008 12:55:54 -0700

Brian,

> Granted, $dimids[0] is correct.  But why, then, did this not cause the script 
> to crash EVERY time?  It worked on some files, not others.

I think that's "perl" trying to be helpful.  If you access beyond
the end of an array, perl automatically extends the array for you.
I have no idea what would be in the extended portion of the array.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: IHB-309481
Department: Support netCDF Perl
Priority: Normal
Status: Closed