Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Robert S Laramee wrote: > > Hi John, > > > > > along these same lines, i have a little app i wrote that reads ASCII > > data files, builds a VisAD data structure with the data and writes out > > netCDF files (for use with the SpreadSheet). these netCDF files are > > signifigantly larger than the ASCII! 2.6 Mb of ASCII data becomes a 4.6 > > Mb netCDF file. is this expected, or is it likely i'm doing something > > wrong? > > Are you using Java's Output Object Serialization to do this? I ran into a > very similar problem with Java's ObjectOutputStream. If you are invoking: No - I'm just using a Plain Object to do the saving, as in: public void saveData(String outputFileName, Data d) throws BadFormException, IOException, VisADException, RemoteException { File f = new File(outputFileName); Plain saver = new Plain(); saver.save(f.getPath(), d, true); saver = null; } -john
visad
archives: