Hi Gabriella, could you please provide more details about point 1? On Wed, Oct 21, 2015 at 5:23 AM, Gabriella Turek <gabriella.tu...@niwa.co.nz > wrote:
> I am trying to sort up the Netcdf support. > 1) If I just install the jar files that come in the geotools 14.0 distro I > keep getting an unsatified link error, which leads me to believe that the > netcdf jar file included is the C netcdf jar file > How did you install it? Which errors are you getting? (could you please provide the full log?) > 2) If instead I install the netcdf jars from the imageio-ext distro, I get > the following error: > I would not use those libs which are old ones used for other purposes (like HDF4 legacy support and data conversion). I would rely on the GeoTools ones instead. Please, provide us more details on the issues you have reported with point 1. Cheers, Daniele > > Exception in thread "main" java.util.ServiceConfigurationError: > javax.imageio.spi.ImageReaderSpi: Provider > org.geotools.imageio.netcdf.NetCDFImageReaderSpi could not be instantiated > at java.util.ServiceLoader.fail(ServiceLoader.java:232) > at java.util.ServiceLoader.access$100(ServiceLoader.java:185) > at > java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) > at > java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) > at java.util.ServiceLoader$1.next(ServiceLoader.java:480) > at > javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry. > java:210) > at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:138) > at > javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:159) > at javax.imageio.ImageIO.<clinit>(ImageIO.java:66) > at > riskscape.newui.icons.UIResources.getBufferedImage(UIResources.java:43) > at > riskscape.newui.components.RiskScapeFlashScreen.<init>(RiskScapeFlashScreen > .java:55) > at riskscape.newui.RiskScape.main(RiskScape.java:149) > Caused by: java.lang.NoClassDefFoundError: ucar/nc2/jni/netcdf/Nc4Iosp > at > org.geotools.imageio.netcdf.utilities.NetCDFUtilities.<clinit>(NetCDFUtilit > ies.java:338) > at > org.geotools.imageio.netcdf.NetCDFImageReaderSpi.<clinit>(NetCDFImageReader > Spi.java:131) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce > ssorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru > ctorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:422) > at java.lang.Class.newInstance(Class.java:442) > at > java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) > ... 9 more > Caused by: java.lang.ClassNotFoundException: ucar.nc2.jni.netcdf.Nc4Iosp > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 17 more > > > So I am a bit confused. This was not a problem with geotools 13. > Gaby > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > GeoTools-GT2-Users mailing list > GeoTools-GT2-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users