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.
Its likely your compile classpath is wrong, and you are using an old version of the nj22 library. Adit Santokhee wrote:
Hi John, Actually, I'm getting the following error message when compiling C:\work\Client\src\TestClient.java:61: cannot resolve Symbol symbol : method openInMemory (java.lang.String,byte[]) location: class ucar.nc2.NetcdfFile NetcdfFile nc = NetcdfFile.openInMemory(("tester"+i), nl.getBytes(new BigDecimal(1), new BigDecimal(nl.getLength()))); Cheers, Adit. -----Original Message-----From: John Caron [mailto:address@hidden] Sent: 21 March 2006 15:48To: Adit Santokhee Cc: address@hidden; address@hidden Subject: Re: problem with Hi Adit: Yes, it should work. What error are you getting ? Adit Santokhee wrote:Hello, Does the openInMemory (java.lang.String,byte[]) actually work ?I am using netcdf-2.2.15.jar but it seems this method has not been implemented.Cheers, Adit.