You can try Variable.readToStream().
Note this will be a binary serialization that may not be portable. Who
is the consumer of the stream?
Also its "experimental", and we would be glad of feedback.
On 5/28/2014 2:24 PM, Ericson, Dean - 0443 - MITLL wrote:
Is anyone aware of a way that we can use the netcdf 4.3 library to
write/copy/subset a netcdf file into an OutputStream? I see that the
NetcdfFile object has a ‘writeCDL’ method, but it looks as though it has
to exist on disk first. Can anyone confirm that?
My use case requires that we can copy data from an input netcdf 4 file
and copy/subset it onto a JMS topic. We have all other dependencies
setup, it’s just a matter of writing/copying the data into the
Any help/guidance would be appreciated.
MIT Lincoln Laboratory
netcdf-java mailing list
For list information or to unsubscribe, visit: