No, the netcdf4-4.5.3.jar does not include it.
You probably should work with the netcdfAll jar; this one, for example:
ftp://ftp.unidata.ucar.edu/pub/netcdf-java/v4.5/netcdfAll-4.5.jar
=Dennis Heimbigner
Unidata
Vineet Ghatge Hemantkumar wrote:
Does the netcdd 4.5.3 have it by default? I am referencing it from the
following repository
http://artifacts.unidata.ucar.edu/content/repositories/unidata-releases/edu/ucar/netcdf4/4.5.3/
Could be guide how I might include this into the jar? I am a newbie with
netcdf jar. Appreciate all the help so far!
On Sat, Nov 22, 2014 at 2:07 PM, Dennis Heimbigner <dmh@xxxxxxxx> wrote:
ok, I have encountered this problem
before.
Basically, the jar file that you are using
must contain ucar.nc2.grib.collection.Grib2Iosp.class.
=Dennis Heimbigner
Unidata
Vineet Ghatge Hemantkumar wrote:
Hello All,
I am trying to pass a InputStream of a grib file to the function
*netcdf.openinmemory()
*but it fails with following error
Caused by: java.io.IOException: Cant read : not a valid CDM file.
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:811)
at ucar.nc2.NetcdfFile.openInMemory(NetcdfFile.java:728)
If I change the netcdf to netcdf.open() and pass the file name it works
well.
1. Will the openinmemory() work only for .nc files only?
2. What are options in netcdf to read inputstreams? My aim to is to make
code independent of filenames or any other specific configurations?
Regards,
vineet
------------------------------------------------------------------------
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/