- To: <netcdfgroup@xxxxxxxxxxxxxxxx>
- Subject: [netcdfgroup] java netcdf large array NegativeArraySizeException
- From: juergen sorg <j.sorg@xxxxxxxxxxxxx>
- Date: Mon, 26 Jan 2015 13:48:43 +0100
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
- Follow-Ups:
- Re: [netcdfgroup] java netcdf large array NegativeArraySizeException
- From: John Caron
- Re: [netcdfgroup] java netcdf large array NegativeArraySizeException