NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] java netcdf large array NegativeArraySizeException

hi,

i tried to create a netcdf 3-dim double array with a shape of (4400,800,800). but on creation it occures a java.lang.NegativeArraySizeException. with less data (like 250 instead of 4000) everything works well. i am using netcdf 4.3.17 from the maven repository and the file is generated with the large file support (CDF 002).
the first dimension (4400) of the array is unlimited
(timeDim = UNLIMITED ;).
because the netcdf files are responses of a service the files are generated from an existing ncml file.

here is the code of creating the array:

ArrayDouble data = new ArrayDouble.D3(4000,800,800);


thanks in advance

gruss juergen

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: